1
0
mirror of https://github.com/aquasecurity/kube-bench.git synced 2025-01-03 12:20:54 +00:00

We don’t care whether the binaries are in our path or not, just whether they are running

This commit is contained in:
Liz Rice 2017-08-15 16:01:27 +01:00
parent 7c7d477d78
commit 86d49b1b1a

View File

@ -113,11 +113,6 @@ func verifyBin(binPath ...string) {
} }
} }
if len(missing) > 0 {
missing = strings.Trim(missing, ", ")
printlnWarn(fmt.Sprintf("Missing kubernetes binaries: %s", missing))
}
if len(notRunning) > 0 { if len(notRunning) > 0 {
notRunning = strings.Trim(notRunning, ", ") notRunning = strings.Trim(notRunning, ", ")
printlnWarn(fmt.Sprintf("Kubernetes binaries not running: %s", notRunning)) printlnWarn(fmt.Sprintf("Kubernetes binaries not running: %s", notRunning))