Commit 6a4f8b54 authored by Alejandro Escobar's avatar Alejandro Escobar

fixed error log that would cause two log lines to run into each other. This can…

fixed error log that would cause two log lines to run into each other. This can be reproduced by running local-up-cluster.sh on osx. found source of log issue and it was further upstream at the hyperkube level. removed extra \n items i added to make things clearer.
parent de59ede6
......@@ -188,7 +188,7 @@ func (hk *HyperKube) Run(args []string) error {
func (hk *HyperKube) RunToExit(args []string) {
err := hk.Run(args)
if err != nil {
fmt.Fprint(os.Stderr, err.Error())
fmt.Fprintf(os.Stderr, "Error: %v\n", err.Error())
os.Exit(1)
}
os.Exit(0)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment