Skip to content

Commit 60e21e9

Browse files
committed
gofmt
1 parent fc2096e commit 60e21e9

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

plugins/main/win-l2bridge/l2bridge_windows.go

+4-5
Original file line numberDiff line numberDiff line change
@@ -22,21 +22,20 @@ import (
2222
"net"
2323
"runtime"
2424

25+
"github.com/Microsoft/hcsshim"
2526
"github.com/containernetworking/cni/pkg/skel"
2627
"github.com/containernetworking/cni/pkg/types"
2728
"github.com/containernetworking/cni/pkg/types/current"
2829
"github.com/containernetworking/cni/pkg/version"
30+
"github.com/containernetworking/plugins/pkg/hns"
2931
"github.com/containernetworking/plugins/pkg/ipam"
30-
"github.com/Microsoft/hcsshim"
3132
"strings"
32-
"log"
33-
"github.com/containernetworking/plugins/pkg/hns"
3433
)
3534

3635
type NetConf struct {
3736
hns.NetConf
3837

39-
IPMasq bool
38+
IPMasq bool
4039
clusterNetworkPrefix net.IPNet
4140
}
4241

@@ -67,7 +66,7 @@ func cmdAdd(args *skel.CmdArgs) error {
6766
return err
6867
}
6968

70-
if hnsNetwork == nil {
69+
if hnsNetwork == nil {
7170
return fmt.Errorf("network %v not found", networkName)
7271
}
7372

0 commit comments

Comments
 (0)