Skip to content

Commit

Permalink
Merge pull request #13290 from spzala/benchmarkput
Browse files Browse the repository at this point in the history
Benchmark: remove redundant function call
  • Loading branch information
spzala authored Aug 16, 2021
2 parents ea24fb8 + 55525e3 commit ab9563d
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion tools/benchmark/cmd/put.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit ab9563d

Please sign in to comment.