Skip to content

Commit

Permalink
Don't print errors twice
Browse files Browse the repository at this point in the history
  • Loading branch information
sttts committed Jan 25, 2019
1 parent 588b66d commit af9161b
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions cmd/cluster-bootstrap/start.go
Original file line number Diff line number Diff line change
Expand Up @@ -57,12 +57,7 @@ func runCmdStart(cmd *cobra.Command, args []string) error {
return err
}

err = bk.Run()
if err != nil {
// Always report errors.
start.UserOutput("Error: %v\n", err)
}
return err
return bk.Run()
}

func validateStartOpts(cmd *cobra.Command, args []string) error {
Expand Down

0 comments on commit af9161b

Please sign in to comment.