mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-27 13:37:30 +00:00
Use fmt.printf() to end with a newline
update pull request update pull request update pull request
This commit is contained in:
parent
ed2bdd53dc
commit
433f86c6a7
@ -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 {
|
|||||||
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))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user