Skip to content

Commit

Permalink
Don't set Notification#no_more_notifications on others than problem/r…
Browse files Browse the repository at this point in the history
…ecovery

refs #7758
  • Loading branch information
Al2Klimov committed Feb 6, 2020
1 parent c37c40d commit 9cc81a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/icinga/notification.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,7 @@ void Notification::BeginExecuteNotification(NotificationType type, const CheckRe

if (type == NotificationProblem && GetInterval() <= 0)
SetNoMoreNotifications(true);
else
else if (type == NotificationRecovery)
SetNoMoreNotifications(false);

if (type == NotificationProblem && GetInterval() > 0)
Expand Down

0 comments on commit 9cc81a1

Please sign in to comment.