mirror of
				https://github.com/optim-enterprises-bv/kubernetes.git
				synced 2025-11-03 19:58:17 +00:00 
			
		
		
		
	Changed the Info type so that the config file can be displayed without escape characters showing
This commit is contained in:
		@@ -93,7 +93,7 @@ func LogOrWriteConfig(fileName string, cfg *config.KubeSchedulerConfiguration, c
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	if klog.V(2).Enabled() {
 | 
			
		||||
		klog.InfoS("Using component config", "config", buf.String())
 | 
			
		||||
		klog.Info("Using component config", "\n-------------------------Configuration File Contents Start Here---------------------- \n", buf.String(), "\n------------------------------------Configuration File Contents End Here---------------------------------\n")
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	if len(fileName) > 0 {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user