Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Consult Checkable#state_before_suppression only if there's a suppression
It's only set along with adding NotificationProblem or NotificationRecovery to Checkable#suppressed_notifications and never reset. Also its default, ServiceOK, is an actual state. Not being aware of these facts confuses Checkable#NotificationReasonApplies() which is a condition for cleaning Notification#suppressed_notifications in FireSuppressedNotifications(). I.e. suppressed notifications can get lost.
- Loading branch information