From 62256c6eb104dccc75d6e60a40260a01f471642a Mon Sep 17 00:00:00 2001 From: Janos Guljas Date: Tue, 5 Feb 2019 19:36:54 +0100 Subject: [PATCH] cmd/swarm/global-store: fix err shadowing in testHTTP --- cmd/swarm/global-store/global_store_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/swarm/global-store/global_store_test.go b/cmd/swarm/global-store/global_store_test.go index c0589c618b..85f361ed4f 100644 --- a/cmd/swarm/global-store/global_store_test.go +++ b/cmd/swarm/global-store/global_store_test.go @@ -70,7 +70,7 @@ func testHTTP(t *testing.T, put bool, args ...string) { // wait until global store process is started as // rpc.DialHTTP is actually not connecting for i := 0; i < 1000; i++ { - _, err := http.DefaultClient.Get("http://" + addr) + _, err = http.DefaultClient.Get("http://" + addr) if err == nil { break }