Skip to content

Commit

Permalink
fix linter issue
Browse files Browse the repository at this point in the history
  • Loading branch information
paulyufan2 committed Aug 26, 2024
1 parent 4355a83 commit f7ece63
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion cni/network/network.go
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,6 @@ func (plugin *NetPlugin) findMasterInterfaceBySubnet(nwCfg *cni.NetworkConfig, s
// Otherwise, pick the first interface with an IP address in the given subnet.
subnetPrefixString := subnetPrefix.String()
interfaces, err := plugin.netClient.GetNetworkInterfaces()

if err != nil {
logger.Error("failed to get interfaces", zap.Error(err))
return ""
Expand Down

0 comments on commit f7ece63

Please sign in to comment.