Unverified Commit 8045a99a authored by Kubernetes Prow Robot's avatar Kubernetes Prow Robot Committed by GitHub

Merge pull request #76565 from xichengliudui/ends-With-Newline

Use fmt.printf() to end with a newline
parents 8a636a31 433f86c6
...@@ -494,7 +494,7 @@ func genBinDataFromSeed(len int, seed int64) []byte { ...@@ -494,7 +494,7 @@ func genBinDataFromSeed(len int, seed int64) []byte {
len, err := rand.Read(binData) len, err := rand.Read(binData)
if err != nil { if err != nil {
fmt.Printf("Error: %v", err) fmt.Printf("Error: %v\n", err)
} }
return binData return binData
......
...@@ -81,7 +81,7 @@ func check(options ...string) []error { ...@@ -81,7 +81,7 @@ func check(options ...string) []error {
case "kernel": case "kernel":
errs = appendNotNil(errs, kernel()) errs = appendNotNil(errs, kernel())
default: default:
fmt.Printf("Unrecognized option %s", c) fmt.Printf("Unrecognized option %s\n", c)
errs = append(errs, fmt.Errorf("Unrecognized option %s", c)) errs = append(errs, fmt.Errorf("Unrecognized option %s", c))
} }
} }
......
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