mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
Merge pull request #13290 from spzala/benchmarkput
Benchmark: remove redundant function call
This commit is contained in:
commit
ab9563dc8e
@ -171,7 +171,6 @@ func hashKV(cmd *cobra.Command, clients []*v3.Client) {
|
||||
host := eps[0]
|
||||
|
||||
st := time.Now()
|
||||
clients[0].HashKV(context.Background(), eps[0], 0)
|
||||
rh, eh := clients[0].HashKV(context.Background(), host, 0)
|
||||
if eh != nil {
|
||||
fmt.Fprintf(os.Stderr, "Failed to get the hashkv of endpoint %s (%v)\n", host, eh)
|
||||
|
Loading…
x
Reference in New Issue
Block a user