瀏覽代碼

client: fix go vet error at tip

Gyu-Ho Lee 10 年之前
父節點
當前提交
4ffe823c67
共有 1 個文件被更改,包括 1 次插入1 次删除
  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)
 		}
 	}
 }