diff --git a/tools/functional-tester/etcd-runner/command/global.go b/tools/functional-tester/etcd-runner/command/global.go index 02ae92dc2..968dd567e 100644 --- a/tools/functional-tester/etcd-runner/command/global.go +++ b/tools/functional-tester/etcd-runner/command/global.go @@ -106,9 +106,9 @@ func doRounds(rcs []roundClient, rounds int, requests int) { } func endpointsFromFlag(cmd *cobra.Command) []string { - endpoints, err := cmd.Flags().GetStringSlice("endpoints") + eps, err := cmd.Flags().GetStringSlice("endpoints") if err != nil { ExitWithError(ExitError, err) } - return endpoints + return eps }