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:
parent
7c7d477d78
commit
86d49b1b1a
@ -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))
|
||||||
|
Loading…
Reference in New Issue
Block a user