Browse Source

client: fix go vet error at tip

Gyu-Ho Lee 9 years ago
parent
commit
4ffe823c67
1 changed files with 1 additions and 1 deletions
  1. 1 1
      client/client_test.go

+ 1 - 1
client/client_test.go

@@ -851,7 +851,7 @@ func TestHTTPClusterClientSyncPinEndpoint(t *testing.T) {
 		}
 
 		if g := hc.endpoints[hc.pinned]; g != pinnedEndpoint {
-			t.Errorf("#%d: pinned endpoint = %s, want %s", i, g, pinnedEndpoint)
+			t.Errorf("#%d: pinned endpoint = %v, want %v", i, g, pinnedEndpoint)
 		}
 	}
 }