1
0
mirror of https://github.com/aquasecurity/kube-bench.git synced 2024-11-25 01:18:12 +00:00

use log instead of print (#1186)

This commit is contained in:
Huang Huang 2022-05-22 12:44:07 +08:00 committed by GitHub
parent 181d621456
commit 41e3e64472
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -133,7 +133,7 @@ func generateDefaultEnvAudit(controls *check.Controls, binSubs []string) {
if len(binSubs) == 1 {
binPath = binSubs[0]
} else {
fmt.Printf("AuditEnv not explicit for check (%s), where bin path cannot be determined\n", checkItem.ID)
glog.V(1).Infof("AuditEnv not explicit for check (%s), where bin path cannot be determined", checkItem.ID)
}
if test.Env != "" && checkItem.AuditEnv == "" {