Commit 19d1bde 1 parent 0d749dd commit 19d1bde Copy full SHA for 19d1bde
File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -7,16 +7,16 @@ import (
7
7
"github.com/Azure/azure-container-networking/cni/client"
8
8
"github.com/Azure/azure-container-networking/cns"
9
9
"github.com/pkg/errors"
10
- "k8s.io/utils/exec"
10
+ kexec "k8s.io/utils/exec"
11
11
)
12
12
13
13
// NewCNIPodInfoProvider returns an implementation of cns.PodInfoByIPProvider
14
14
// that execs out to the CNI and uses the response to build the PodInfo map.
15
15
func NewCNIPodInfoProvider () (cns.PodInfoByIPProvider , error ) {
16
- return newCNIPodInfoProvider (exec .New ())
16
+ return newCNIPodInfoProvider (kexec .New ())
17
17
}
18
18
19
- func newCNIPodInfoProvider (exec exec .Interface ) (cns.PodInfoByIPProvider , error ) {
19
+ func newCNIPodInfoProvider (exec kexec .Interface ) (cns.PodInfoByIPProvider , error ) {
20
20
cli := client .New (exec )
21
21
state , err := cli .GetEndpointState ()
22
22
if err != nil {
You can’t perform that action at this time.
0 commit comments