Skip to content

Commit

Permalink
go format to fix the linter issue
Browse files Browse the repository at this point in the history
  • Loading branch information
paulyufan2 committed Nov 11, 2024
1 parent 2867d33 commit 7555862
Showing 1 changed file with 5 additions and 8 deletions.
13 changes: 5 additions & 8 deletions network/network_windows_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,6 @@ func TestNewAndDeleteNetworkImplHnsV2(t *testing.T) {
}

err = nm.deleteNetworkImplHnsV2(network)

if err != nil {
fmt.Printf("+%v", err)
t.Fatal(err)
Expand Down Expand Up @@ -95,7 +94,6 @@ func TestSuccesfulNetworkCreationWhenAlreadyExists(t *testing.T) {
}

_, err = nm.newNetworkImplHnsV2(nwInfo, extInterface)

if err != nil {
fmt.Printf("+%v", err)
t.Fatal(err)
Expand Down Expand Up @@ -468,7 +466,6 @@ func TestNewAndDeleteNetworkImplHnsV2ForDelegated(t *testing.T) {
}

err = nm.deleteNetworkImpl(network, cns.NodeNetworkInterfaceFrontendNIC)

if err != nil {
fmt.Printf("+%v", err)
t.Fatal(err)
Expand Down Expand Up @@ -540,11 +537,11 @@ func TestConfigureHCNNetworkInfraNIC(t *testing.T) {
MasterIfName: "eth0",
NICType: cns.InfraNIC,
IfIndex: 1,
EndpointID: "753d3fb6-e9b3-49e2-a109-2acc5dda61f1",
ContainerID: "545055c2-1462-42c8-b222-e75d0b291632",
NetNsPath: "fakeNameSpace",
IfName: "eth0",
Data: make(map[string]interface{}),
EndpointID: "753d3fb6-e9b3-49e2-a109-2acc5dda61f1",
ContainerID: "545055c2-1462-42c8-b222-e75d0b291632",
NetNsPath: "fakeNameSpace",
IfName: "eth0",
Data: make(map[string]interface{}),
EndpointDNS: DNSInfo{
Suffix: "10.0.0.0",
Servers: []string{"10.0.0.1, 10.0.0.2"},
Expand Down

0 comments on commit 7555862

Please sign in to comment.