Remove 'unknown' as one of the valid states when setting the initial state of a check.

This commit is contained in:
Ryan Mills 2015-04-13 20:46:01 +00:00
parent 275af975e8
commit c92d45dd9b
1 changed files with 1 additions and 2 deletions

View File

@ -37,8 +37,7 @@ const (
) )
func ValidStatus(s string) bool { func ValidStatus(s string) bool {
return s == HealthUnknown || return s == HealthPassing ||
s == HealthPassing ||
s == HealthWarning || s == HealthWarning ||
s == HealthCritical s == HealthCritical
} }