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

Correct debug messages

This commit is contained in:
Liz Rice 2019-05-17 14:22:04 +01:00
parent 12e48297a6
commit e33e44b676

View File

@ -241,11 +241,11 @@ func getKubeConfigFiles(v *viper.Viper) map[string]string {
glog.V(2).Info(fmt.Sprintf("Using default kubeconfig file name '%s' for component %s", kubeconfig, component)) glog.V(2).Info(fmt.Sprintf("Using default kubeconfig file name '%s' for component %s", kubeconfig, component))
} else { } else {
// Default the service file name that we'll substitute to the name of the component // Default the service file name that we'll substitute to the name of the component
glog.V(2).Info(fmt.Sprintf("Missing service file for %s", component)) glog.V(2).Info(fmt.Sprintf("Missing kubeconfig file for %s", component))
kubeconfig = component kubeconfig = component
} }
} else { } else {
glog.V(2).Info(fmt.Sprintf("Component %s uses service file '%s'", component, kubeconfig)) glog.V(2).Info(fmt.Sprintf("Component %s uses kubeconfig file '%s'", component, kubeconfig))
} }
kubeconfigmap[component] = kubeconfig kubeconfigmap[component] = kubeconfig