Skip to content

Commit 4a07cc3

Browse files
committed
rename err instead of shadowing
1 parent 99ec85f commit 4a07cc3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

client_test.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -252,8 +252,8 @@ func TestConcurrency(t *testing.T) {
252252
defer close(errors)
253253

254254
for i := 0; i <= iterations; i++ {
255-
if _, err := c.Server.GroupList(); err != nil { // nolint: vetshadow
256-
errors <- err
255+
if _, err2 := c.Server.GroupList(); err != nil {
256+
errors <- err2
257257
}
258258
}
259259
}()

0 commit comments

Comments
 (0)