Merge pull request #17971 from callthingsoff/eliminate_max

tools/benchmark/cmd: eliminate custom max function
This commit is contained in:
James Blair 2024-05-09 20:21:21 +12:00 committed by GitHub
commit 905f0f1d9f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -152,13 +152,6 @@ func compactKV(clients []*v3.Client) {
}
}
func max(n1, n2 int64) int64 {
if n1 > n2 {
return n1
}
return n2
}
func hashKV(cmd *cobra.Command, clients []*v3.Client) {
eps, err := cmd.Flags().GetStringSlice("endpoints")
if err != nil {