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

Not exiting when executable not found (#702)

Regrading https://github.com/aquasecurity/kube-bench/issues/701 where kube bench is crushing when not finding components
This commit is contained in:
Yoav Rotem 2020-10-03 13:51:13 +03:00 committed by GitHub
parent 90b7ae6628
commit 714430c7fc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -91,7 +91,7 @@ func runChecks(nodetype check.NodeType, testYamlFile string) {
// Checks that the executables we need for the section are running.
if err != nil {
exitWithError(fmt.Errorf("failed to get a set of executables needed for tests: %v", err))
glog.V(1).Info(fmt.Sprintf("failed to get a set of executables needed for tests: %v", err))
}
confmap := getFiles(typeConf, "config")