1
0
mirror of https://github.com/aquasecurity/kube-bench.git synced 2024-12-22 22:58:07 +00:00

Remove unnecessary warnings about missing config files.

This commit is contained in:
Abubakr-Sadik Nii Nai Davis 2017-11-03 10:41:01 +00:00
parent 85fb818e41
commit 31b5910a7f

View File

@ -136,7 +136,7 @@ func getConfigFiles(v *viper.Viper, t string) map[string]string {
glog.V(2).Info(fmt.Sprintf("Using default config file name '%s' for component %s", conf, component)) glog.V(2).Info(fmt.Sprintf("Using default config file name '%s' for component %s", conf, component))
} else { } else {
// Default the config file name that we'll substitute to the name of the component // Default the config file name that we'll substitute to the name of the component
printlnWarn(fmt.Sprintf("Missing config file for %s", component)) glog.V(2).Info(fmt.Sprintf("Missing config file for %s", component))
conf = component conf = component
} }
} else { } else {