Merge pull request #108159 from pohly/logcheck

logcheck update and golangci-lint integration
This commit is contained in:
Kubernetes Prow Robot
2022-03-24 18:37:50 -07:00
committed by GitHub
27 changed files with 91 additions and 151 deletions

View File

@@ -93,7 +93,7 @@ func LogOrWriteConfig(fileName string, cfg *config.KubeSchedulerConfiguration, c
}
if klogV.Enabled() {
klogV.Info("Using component config", "\n-------------------------Configuration File Contents Start Here---------------------- \n", buf.String(), "\n------------------------------------Configuration File Contents End Here---------------------------------\n")
klogV.InfoS("Using component config", "config", buf.String())
}
if len(fileName) > 0 {