mirror of
https://github.com/aquasecurity/kube-bench.git
synced 2025-01-03 04:10:55 +00:00
Improve comment
Tests could easily be marked "skip" because the user doesn't want to run them in their environment, and in this common case the set of tests will be non-nil
This commit is contained in:
parent
db962a0ad9
commit
cd231106cc
@ -145,7 +145,7 @@ func (ts *tests) execute(s string) *testOutput {
|
|||||||
finalOutput := &testOutput{}
|
finalOutput := &testOutput{}
|
||||||
|
|
||||||
// If no tests are defined return with empty finalOutput.
|
// If no tests are defined return with empty finalOutput.
|
||||||
// This is usually the case for checks of type: "skip".
|
// This may be the case for checks of type: "skip".
|
||||||
if ts == nil {
|
if ts == nil {
|
||||||
return finalOutput
|
return finalOutput
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user