Skip to content

Commit 6fde3f8

Browse files
committed
fix: Lint Errors
1 parent 4441787 commit 6fde3f8

File tree

2 files changed

+1
-6
lines changed

2 files changed

+1
-6
lines changed

network/transparent_vlan_endpointclient_linux.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,6 @@ func (client *TransparentVlanEndpointClient) PopulateVM(epInfo *EndpointInfo) er
292292
_, err = client.netioshim.GetNetworkInterfaceByName(client.vlanIfName)
293293
return errors.Wrap(err, "failed to get vlan interface")
294294
}, numRetries, sleepInMs)
295-
296295
if err != nil {
297296
deleteNSIfNotNilErr = errors.Wrapf(err, "failed to get vlan interface: %s", client.vlanIfName)
298297
return deleteNSIfNotNilErr
@@ -406,7 +405,7 @@ func (client *TransparentVlanEndpointClient) setArpProxy(ifName string) error {
406405
_, err := client.plClient.ExecuteRawCommand(cmd)
407406
if err != nil {
408407
logger.Error("Failed to set ARP proxy", zap.String("interface", ifName), zap.Error(err))
409-
return err
408+
return errors.Wrap(err, "failed to set arp proxy")
410409
}
411410
return nil
412411
}

network/transparent_vlan_endpointclient_linux_test.go

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1076,7 +1076,3 @@ func TestRunWithRetries(t *testing.T) {
10761076
})
10771077
}
10781078
}
1079-
1080-
func TestAddCustomRoutes(t *testing.T) {
1081-
1082-
}

0 commit comments

Comments
 (0)