From e11864aa26298d808f6bfeea05b5cbc2e155b10d Mon Sep 17 00:00:00 2001 From: QxBytes Date: Tue, 21 Jan 2025 11:39:01 -0800 Subject: [PATCH] address linter issues --- npm/pkg/dataplane/ipsets/ipsetmanager_windows_test.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/npm/pkg/dataplane/ipsets/ipsetmanager_windows_test.go b/npm/pkg/dataplane/ipsets/ipsetmanager_windows_test.go index 4f5bb41c2f..02cf9c5a4f 100644 --- a/npm/pkg/dataplane/ipsets/ipsetmanager_windows_test.go +++ b/npm/pkg/dataplane/ipsets/ipsetmanager_windows_test.go @@ -1,7 +1,6 @@ package ipsets import ( - "fmt" "sort" "strings" "testing" @@ -388,7 +387,7 @@ func verifyHNSCache(t *testing.T, expected map[string]hcn.SetPolicySetting, hns copyOfCachedObj := *cacheObj copyOfCachedObj.Values = strings.Join(members, ",") - require.Equal(t, setObj, copyOfCachedObj, fmt.Sprintf("%s mismatch in cache", setName)) + require.Equal(t, setObj, copyOfCachedObj, setName+" mismatch in cache") } }