File tree 1 file changed +4
-5
lines changed
plugins/main/win-l2bridge
1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -22,21 +22,20 @@ import (
22
22
"net"
23
23
"runtime"
24
24
25
+ "github.com/Microsoft/hcsshim"
25
26
"github.com/containernetworking/cni/pkg/skel"
26
27
"github.com/containernetworking/cni/pkg/types"
27
28
"github.com/containernetworking/cni/pkg/types/current"
28
29
"github.com/containernetworking/cni/pkg/version"
30
+ "github.com/containernetworking/plugins/pkg/hns"
29
31
"github.com/containernetworking/plugins/pkg/ipam"
30
- "github.com/Microsoft/hcsshim"
31
32
"strings"
32
- "log"
33
- "github.com/containernetworking/plugins/pkg/hns"
34
33
)
35
34
36
35
type NetConf struct {
37
36
hns.NetConf
38
37
39
- IPMasq bool
38
+ IPMasq bool
40
39
clusterNetworkPrefix net.IPNet
41
40
}
42
41
@@ -67,7 +66,7 @@ func cmdAdd(args *skel.CmdArgs) error {
67
66
return err
68
67
}
69
68
70
- if hnsNetwork == nil {
69
+ if hnsNetwork == nil {
71
70
return fmt .Errorf ("network %v not found" , networkName )
72
71
}
73
72
You can’t perform that action at this time.
0 commit comments