Commit 87b9f6fa authored by Kubernetes Submit Queue's avatar Kubernetes Submit Queue Committed by GitHub

Merge pull request #39627 from alejandroEsc/ae/kubelet/log

Automatic merge from submit-queue (batch tested with PRs 39695, 37054, 39627, 39546, 39615) fixed error log that would cause two log lines to run into each other… **What this PR does / why we need it**: Fixed error log that would cause two log lines to run into each other. Logs running into each other can be reproduced by running local-up-cluster.sh on osx. **Release note**: ```NONE ```
parents 5aa177a8 6a4f8b54
...@@ -188,7 +188,7 @@ func (hk *HyperKube) Run(args []string) error { ...@@ -188,7 +188,7 @@ 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.Fprint(os.Stderr, err.Error()) fmt.Fprintf(os.Stderr, "Error: %v\n", err.Error())
os.Exit(1) os.Exit(1)
} }
os.Exit(0) 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