mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 11:50:44 +00:00
Changed the Info type so that the config file can be displayed without escape characters showing
This commit is contained in:
parent
582c4ebe26
commit
2131fdb84c
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user