tools/benchmark: remove deadcode

The Execute() function is a deadcode. Let's remove it.
This commit is contained in:
Hitoshi Mitake 2016-01-13 16:57:53 +09:00
parent b83c52888c
commit 16b63310b2

View File

@ -15,8 +15,6 @@
package cmd
import (
"fmt"
"os"
"sync"
"github.com/coreos/etcd/Godeps/_workspace/src/github.com/cheggaaa/pb"
@ -48,10 +46,3 @@ func init() {
RootCmd.PersistentFlags().UintVar(&totalConns, "conns", 1, "Total number of gRPC connections")
RootCmd.PersistentFlags().UintVar(&totalClients, "clients", 1, "Total number of gRPC clients")
}
func Execute() {
if err := RootCmd.Execute(); err != nil {
fmt.Println(err)
os.Exit(-1)
}
}