Skip to content
Snippets Groups Projects
Unverified Commit db962a0a authored by Liz Rice's avatar Liz Rice Committed by GitHub
Browse files

Fix merge of skip check

parent 911e9051
No related branches found
No related tags found
No related merge requests found
...@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment