mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
client: fix go vet error at tip
This commit is contained in:
parent
23a8339dd7
commit
4ffe823c67
@ -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)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user