mirror of
https://github.com/aquasecurity/kube-bench.git
synced 2025-01-03 04:10:55 +00:00
Fix merge of skip check
This commit is contained in:
parent
911e9051dc
commit
db962a0ad9
@ -78,6 +78,7 @@ type Check struct {
|
||||
// the results.
|
||||
func (c *Check) Run() {
|
||||
|
||||
// If check type is skip, force result to INFO
|
||||
if c.Type == "skip" {
|
||||
c.State = INFO
|
||||
return
|
||||
@ -89,12 +90,6 @@ func (c *Check) Run() {
|
||||
return
|
||||
}
|
||||
|
||||
// If check type is skip, force result to INFO.
|
||||
if c.Type == "skip" {
|
||||
c.State = INFO
|
||||
return
|
||||
}
|
||||
|
||||
var out bytes.Buffer
|
||||
var errmsgs string
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user