Skip to content

Commit 50c8b25

Browse files
committed
go format to fix the linter issue
1 parent 07de10b commit 50c8b25

File tree

1 file changed

+5
-8
lines changed

1 file changed

+5
-8
lines changed

network/network_windows_test.go

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,6 @@ func TestNewAndDeleteNetworkImplHnsV2(t *testing.T) {
6060
}
6161

6262
err = nm.deleteNetworkImplHnsV2(network)
63-
6463
if err != nil {
6564
fmt.Printf("+%v", err)
6665
t.Fatal(err)
@@ -95,7 +94,6 @@ func TestSuccesfulNetworkCreationWhenAlreadyExists(t *testing.T) {
9594
}
9695

9796
_, err = nm.newNetworkImplHnsV2(nwInfo, extInterface)
98-
9997
if err != nil {
10098
fmt.Printf("+%v", err)
10199
t.Fatal(err)
@@ -468,7 +466,6 @@ func TestNewAndDeleteNetworkImplHnsV2ForDelegated(t *testing.T) {
468466
}
469467

470468
err = nm.deleteNetworkImpl(network, cns.NodeNetworkInterfaceFrontendNIC)
471-
472469
if err != nil {
473470
fmt.Printf("+%v", err)
474471
t.Fatal(err)
@@ -540,11 +537,11 @@ func TestConfigureHCNNetworkInfraNIC(t *testing.T) {
540537
MasterIfName: "eth0",
541538
NICType: cns.InfraNIC,
542539
IfIndex: 1,
543-
EndpointID: "753d3fb6-e9b3-49e2-a109-2acc5dda61f1",
544-
ContainerID: "545055c2-1462-42c8-b222-e75d0b291632",
545-
NetNsPath: "fakeNameSpace",
546-
IfName: "eth0",
547-
Data: make(map[string]interface{}),
540+
EndpointID: "753d3fb6-e9b3-49e2-a109-2acc5dda61f1",
541+
ContainerID: "545055c2-1462-42c8-b222-e75d0b291632",
542+
NetNsPath: "fakeNameSpace",
543+
IfName: "eth0",
544+
Data: make(map[string]interface{}),
548545
EndpointDNS: DNSInfo{
549546
Suffix: "10.0.0.0",
550547
Servers: []string{"10.0.0.1, 10.0.0.2"},

0 commit comments

Comments
 (0)