mirror of
https://github.com/aquasecurity/kube-bench.git
synced 2025-01-03 04:10:55 +00:00
Print verification warnings at only one point.
This commit is contained in:
parent
2119d119b0
commit
6ee9bedfb8
@ -56,11 +56,6 @@ func runChecks(t check.NodeType) {
|
||||
var file string
|
||||
|
||||
warns := verifyNodeType(t)
|
||||
if len(warns) > 0 {
|
||||
for _, w := range warns {
|
||||
colorPrint(check.WARN, w)
|
||||
}
|
||||
}
|
||||
|
||||
switch t {
|
||||
case check.MASTER:
|
||||
|
Loading…
Reference in New Issue
Block a user