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

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 == "" {