consul: Improve variable name

This commit is contained in:
Armon Dadgar 2014-10-14 11:04:43 -07:00
parent e33b6683aa
commit 5c46544e7e
1 changed files with 2 additions and 2 deletions

View File

@ -197,8 +197,8 @@ 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.HealthAny)
for _, check := range critical {
_, checks := state.ChecksInState(structs.HealthAny)
for _, check := range checks {
// Ignore any non serf checks
if check.CheckID != SerfCheckID {
continue