Explorar o código

Merge pull request #4266 from gyuho/minor_govet

integration: minor govet shadow fix
Gyu-Ho Lee %!s(int64=10) %!d(string=hai) anos
pai
achega
c21d87354e
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      integration/v3_barrier_test.go

+ 2 - 2
integration/v3_barrier_test.go

@@ -45,8 +45,8 @@ func testBarrier(t *testing.T, waiters int, chooseConn func() *grpc.ClientConn)
 	donec := make(chan struct{})
 	for i := 0; i < waiters; i++ {
 		go func() {
-			b := recipe.NewBarrier(recipe.NewEtcdClient(chooseConn()), "test-barrier")
-			if err := b.Wait(); err != nil {
+			br := recipe.NewBarrier(recipe.NewEtcdClient(chooseConn()), "test-barrier")
+			if err := br.Wait(); err != nil {
 				t.Fatalf("could not wait on barrier (%v)", err)
 			}
 			donec <- struct{}{}