Please sign in to comment.
Move last_hard_state change to after event handler
Previously the last_hard_state was changed *after* the event handler in case of a service returning from critical->ok whereas it would be changed *before* the event handler in case of a service going from ok->critical. This commit ensures that the behavior is consistent for both scenarios, and the last_hard_state is changed after the event handler is run. The fixes issue #287 .
- Loading branch information...