mirror of
https://github.com/distribution/distribution.git
synced 2025-09-18 16:35:48 +00:00
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 <github@gone.nl>
This commit is contained in:
@@ -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
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user