Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
kube-bench
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
GitHub Mirror
aquasecurity
kube-bench
Commits
db962a0a
Unverified
Commit
db962a0a
authored
6 years ago
by
Liz Rice
Committed by
GitHub
6 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Fix merge of skip check
parent
911e9051
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
check/check.go
+1
-6
1 addition, 6 deletions
check/check.go
with
1 addition
and
6 deletions
check/check.go
+
1
−
6
View file @
db962a0a
...
@@ -78,6 +78,7 @@ type Check struct {
...
@@ -78,6 +78,7 @@ type Check struct {
// the results.
// the results.
func
(
c
*
Check
)
Run
()
{
func
(
c
*
Check
)
Run
()
{
// If check type is skip, force result to INFO
if
c
.
Type
==
"skip"
{
if
c
.
Type
==
"skip"
{
c
.
State
=
INFO
c
.
State
=
INFO
return
return
...
@@ -89,12 +90,6 @@ func (c *Check) Run() {
...
@@ -89,12 +90,6 @@ func (c *Check) Run() {
return
return
}
}
// If check type is skip, force result to INFO.
if
c
.
Type
==
"skip"
{
c
.
State
=
INFO
return
}
var
out
bytes
.
Buffer
var
out
bytes
.
Buffer
var
errmsgs
string
var
errmsgs
string
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment