Remove duplicate error message output in hyperkube.

pull/6/head
Dong Liu 2017-05-23 17:02:59 +08:00
parent 8bee44b65f
commit 1c4f95a80c
1 changed files with 0 additions and 1 deletions

View File

@ -186,7 +186,6 @@ func (hk *HyperKube) Run(args []string) error {
func (hk *HyperKube) RunToExit(args []string) { func (hk *HyperKube) RunToExit(args []string) {
err := hk.Run(args) err := hk.Run(args)
if err != nil { if err != nil {
fmt.Fprintf(os.Stderr, "Error: %v\n", err.Error())
os.Exit(1) os.Exit(1)
} }
os.Exit(0) os.Exit(0)