mirror of
				https://github.com/optim-enterprises-bv/kubernetes.git
				synced 2025-11-04 04:08:16 +00:00 
			
		
		
		
	Merge pull request #76565 from xichengliudui/ends-With-Newline
Use fmt.printf() to end with a newline
This commit is contained in:
		@@ -494,7 +494,7 @@ func genBinDataFromSeed(len int, seed int64) []byte {
 | 
			
		||||
 | 
			
		||||
	len, err := rand.Read(binData)
 | 
			
		||||
	if err != nil {
 | 
			
		||||
		fmt.Printf("Error: %v", err)
 | 
			
		||||
		fmt.Printf("Error: %v\n", err)
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	return binData
 | 
			
		||||
 
 | 
			
		||||
@@ -81,7 +81,7 @@ func check(options ...string) []error {
 | 
			
		||||
		case "kernel":
 | 
			
		||||
			errs = appendNotNil(errs, kernel())
 | 
			
		||||
		default:
 | 
			
		||||
			fmt.Printf("Unrecognized option %s", c)
 | 
			
		||||
			fmt.Printf("Unrecognized option %s\n", c)
 | 
			
		||||
			errs = append(errs, fmt.Errorf("Unrecognized option %s", c))
 | 
			
		||||
		}
 | 
			
		||||
	}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user