From 9797e318107f1df3639b2984b0a329d4266e8cdd Mon Sep 17 00:00:00 2001 From: Viktor Liu Date: Tue, 29 Oct 2024 20:47:54 +0100 Subject: [PATCH] Fix lint --- client/firewall/nftables/router_linux_test.go | 1 + 1 file changed, 1 insertion(+) diff --git a/client/firewall/nftables/router_linux_test.go b/client/firewall/nftables/router_linux_test.go index a5b9106a5..afc4d5c39 100644 --- a/client/firewall/nftables/router_linux_test.go +++ b/client/firewall/nftables/router_linux_test.go @@ -92,6 +92,7 @@ func TestNftablesManager_AddNatRule(t *testing.T) { destExp := generateCIDRMatcherExpressions(false, testCase.InputPair.Destination) // Combine all expressions in the correct order + // nolint:gocritic testingExpression := append(conntrackExprs, ifaceExprs...) testingExpression = append(testingExpression, sourceExp...) testingExpression = append(testingExpression, destExp...)