Skip to content

Commit 7560d15

Browse files
committed
fix linter issue
1 parent 957a946 commit 7560d15

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cni/network/multitenancy.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ func (m *Multitenancy) DetermineSnatFeatureOnHost(snatFile, nmAgentSupportedApis
164164
func (m *Multitenancy) addDefaultRouteToGateway(gwStr string, epInfo *network.EndpointInfo, result *network.InterfaceInfo) error {
165165
gw := net.ParseIP(gwStr)
166166
if gw == nil {
167-
return fmt.Errorf("invalid gateway IP: %s", gwStr) //nolint:errcheck
167+
return fmt.Errorf("invalid gateway IP: %s", gwStr) //nolint
168168
}
169169

170170
var dst net.IPNet

0 commit comments

Comments
 (0)