Browse Source

Merge pull request #4654 from gyuho/govet_tip

client: fix go vet error at tip
Gyu-Ho Lee 9 years ago
parent
commit
124a444153
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 {
 		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)
 		}
 		}
 	}
 	}
 }
 }