Skip to content

Commit 8045a99

Browse files
authored
Merge pull request kubernetes#76565 from xichengliudui/ends-With-Newline
Use fmt.printf() to end with a newline
2 parents 8a636a3 + 433f86c commit 8045a99

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

test/e2e/storage/utils/utils.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -494,7 +494,7 @@ func genBinDataFromSeed(len int, seed int64) []byte {
494494

495495
len, err := rand.Read(binData)
496496
if err != nil {
497-
fmt.Printf("Error: %v", err)
497+
fmt.Printf("Error: %v\n", err)
498498
}
499499

500500
return binData

test/e2e_node/environment/conformance.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ func check(options ...string) []error {
8181
case "kernel":
8282
errs = appendNotNil(errs, kernel())
8383
default:
84-
fmt.Printf("Unrecognized option %s", c)
84+
fmt.Printf("Unrecognized option %s\n", c)
8585
errs = append(errs, fmt.Errorf("Unrecognized option %s", c))
8686
}
8787
}

0 commit comments

Comments
 (0)