mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
Merge pull request #4654 from gyuho/govet_tip
client: fix go vet error at tip
This commit is contained in:
commit
124a444153
@ -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)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user