mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-22 03:11:40 +00:00
Merge pull request #106228 from sanchayanghosh/104868-scheduler-logging-config-format-incorrectly
Changed the Info type so that the config file can be displayed withou…
This commit is contained in:
commit
398e028d61
@ -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