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:
parent
4052d269f5
commit
3c144f2264
1 changed files with 0 additions and 2 deletions
|
@ -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
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue