mirror of
https://github.com/status-im/consul.git
synced 2025-01-23 20:19:29 +00:00
consul: Reap left members ignoring state. Fixes #371
This commit is contained in:
parent
93b209db50
commit
e39d2ee675
@ -197,7 +197,7 @@ func (s *Server) reconcile() (err error) {
|
||||
// a "reap" event to cause the node to be cleaned up.
|
||||
func (s *Server) reconcileReaped(known map[string]struct{}) error {
|
||||
state := s.fsm.State()
|
||||
_, critical := state.ChecksInState(structs.HealthCritical)
|
||||
_, critical := state.ChecksInState(structs.HealthAny)
|
||||
for _, check := range critical {
|
||||
// Ignore any non serf checks
|
||||
if check.CheckID != SerfCheckID {
|
||||
|
Loading…
x
Reference in New Issue
Block a user