Skip to content

Commit

Permalink
Merge pull request #1 from F1bonacc1/fix/stop_should_make_active_false
Browse files Browse the repository at this point in the history
set active flag to false on stop
  • Loading branch information
F1bonacc1 committed Jul 7, 2022
2 parents 2b1565e + b666c3f commit 6e35d47
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions health.go
Original file line number Diff line number Diff line change
Expand Up @@ -219,6 +219,9 @@ func (h *Health) Stop() error {
// Reset states
h.safeResetStates()

// Checkers are now inactive
h.active.setFalse()

return nil
}

Expand Down

0 comments on commit 6e35d47

Please sign in to comment.