From ef77a2d58b9a522f258e8b2cb66879c50be63bc2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20R=C3=BCger?= Date: Thu, 9 Feb 2023 13:42:29 +0100 Subject: [PATCH] Fix lint --- pkg/controllers/proxy/service_endpoints_sync.go | 1 - 1 file changed, 1 deletion(-) diff --git a/pkg/controllers/proxy/service_endpoints_sync.go b/pkg/controllers/proxy/service_endpoints_sync.go index 68bd1c30..20002d37 100644 --- a/pkg/controllers/proxy/service_endpoints_sync.go +++ b/pkg/controllers/proxy/service_endpoints_sync.go @@ -626,7 +626,6 @@ func (nsc *NetworkServicesController) cleanupDSRService(fwMark uint32) error { // All of the iptables-save output here prints FW marks in hexadecimal, if we are doing string searching, our search // input needs to be in hex also - //nolint:gomnd // we're converting to hex here, we don't need to track this as a constant fwMarkStr := strconv.FormatInt(int64(fwMark), 16) for _, mangleTableRule := range mangleTableRules { if strings.Contains(mangleTableRule, ipAddress) && strings.Contains(mangleTableRule, fwMarkStr) {