Skip to content

Commit

Permalink
rename err instead of shadowing
Browse files Browse the repository at this point in the history
  • Loading branch information
irgendwr committed Feb 10, 2019
1 parent 99ec85f commit 4a07cc3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions client_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -252,8 +252,8 @@ func TestConcurrency(t *testing.T) {
defer close(errors)

for i := 0; i <= iterations; i++ {
if _, err := c.Server.GroupList(); err != nil { // nolint: vetshadow
errors <- err
if _, err2 := c.Server.GroupList(); err != nil {
errors <- err2
}
}
}()
Expand Down

0 comments on commit 4a07cc3

Please sign in to comment.