refix a lint

Another test change made an `err :=` fail because it's no longer
declaring a new variable, but another one needed the :. Or a patch
applied incorrectly. It is a mystery.
This commit is contained in:
Seebs 2019-04-09 17:05:31 -05:00
parent 578ac76011
commit ae17fcef7e

View file

@ -900,7 +900,7 @@ func TestClusterExhaustingConnections(t *testing.T) {
return nil
})
}
err = eg.Wait()
err := eg.Wait()
if err != nil {
t.Fatalf("setting lots of shards: %v", err)
}
@ -955,7 +955,7 @@ func TestClusterExhaustingConnectionsImport(t *testing.T) {
return nil
})
}
err := eg.Wait()
err = eg.Wait()
if err != nil {
t.Fatalf("setting lots of shards: %v", err)
}