mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-27 07:34:15 +02:00
Merge pull request #8562 from Icinga/bugfix/fix-no-renotification-for-non-ok-state-changes-8545
Fix no re-notification for non OK state changes with time delay
This commit is contained in:
commit
c549a6657e
@ -287,6 +287,12 @@ void Notification::BeginExecuteNotification(NotificationType type, const CheckRe
|
|||||||
*/
|
*/
|
||||||
SetNextNotification(checkable->GetLastHardStateChange() + timesBegin + 1.0);
|
SetNextNotification(checkable->GetLastHardStateChange() + timesBegin + 1.0);
|
||||||
|
|
||||||
|
/*
|
||||||
|
* We need to set no more notifications to false, in case
|
||||||
|
* some notifications were sent previously
|
||||||
|
*/
|
||||||
|
SetNoMoreNotifications(false);
|
||||||
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user