diff --git a/check/check.go b/check/check.go index ff45ce6..0813858 100644 --- a/check/check.go +++ b/check/check.go @@ -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