Remove 'unknown' as one of the valid states when setting the initial state of a check.
This commit is contained in:
parent
370853d7ff
commit
2bd5bf04bd
|
@ -37,8 +37,7 @@ const (
|
|||
)
|
||||
|
||||
func ValidStatus(s string) bool {
|
||||
return s == HealthUnknown ||
|
||||
s == HealthPassing ||
|
||||
return s == HealthPassing ||
|
||||
s == HealthWarning ||
|
||||
s == HealthCritical
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue