From 7f72524dec03a5e04575aa685236b547a8913d78 Mon Sep 17 00:00:00 2001 From: Pascal Fischer Date: Thu, 2 Jan 2025 17:39:25 +0100 Subject: [PATCH] fix setup keys test by linter --- .../testing/integration/setupkeys_handler_integration_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/management/server/http/testing/integration/setupkeys_handler_integration_test.go b/management/server/http/testing/integration/setupkeys_handler_integration_test.go index 193c0fb022d..e22a1a5a8e2 100644 --- a/management/server/http/testing/integration/setupkeys_handler_integration_test.go +++ b/management/server/http/testing/integration/setupkeys_handler_integration_test.go @@ -925,7 +925,7 @@ func Test_SetupKeys_GetAll(t *testing.T) { return tc.expectedResponse[i].UsageLimit < tc.expectedResponse[j].UsageLimit }) - for i, _ := range tc.expectedResponse { + for i := range tc.expectedResponse { validateCreatedKey(t, tc.expectedResponse[i], &got[i]) key, err := am.GetSetupKey(context.Background(), testing_tools.TestAccountId, testing_tools.TestUserId, got[i].Id)