mirror of
https://github.com/status-im/consul.git
synced 2025-02-05 02:16:09 +00:00
Remove 'unknown' as one of the valid states when setting the initial state of a check.
This commit is contained in:
parent
275af975e8
commit
c92d45dd9b
@ -37,8 +37,7 @@ const (
|
||||
)
|
||||
|
||||
func ValidStatus(s string) bool {
|
||||
return s == HealthUnknown ||
|
||||
s == HealthPassing ||
|
||||
return s == HealthPassing ||
|
||||
s == HealthWarning ||
|
||||
s == HealthCritical
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user