From 3c144f2264ff839d840f38930bfd35279578f1cd Mon Sep 17 00:00:00 2001 From: Sebastiaan van Stijn Date: Tue, 9 May 2023 13:25:36 +0200 Subject: [PATCH] registry/auth/token: fix the surrounding loop is unconditionally terminate registry/auth/token/types_test.go:83:3: SA4004: the surrounding loop is unconditionally terminated (staticcheck) return ^ Signed-off-by: Sebastiaan van Stijn --- registry/auth/token/types_test.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/registry/auth/token/types_test.go b/registry/auth/token/types_test.go index 5e45c048..f38dab81 100644 --- a/registry/auth/token/types_test.go +++ b/registry/auth/token/types_test.go @@ -81,7 +81,5 @@ func assertStringListEqual(t *testing.T, expected []string, actual []string) { if v != actual[i] { t.Errorf("expected %d. item to be %q, got %q", i, v, actual[i]) } - - return } }