mirror of https://github.com/Icinga/icinga2.git
Fix incorrect parameter for OnNotificationSentChanged event.
This commit is contained in:
parent
b94f1603bb
commit
ce44c9e249
|
@ -341,7 +341,7 @@ void Notification::ExecuteNotificationHelper(NotificationType type, const User::
|
|||
SetLastNotification(Utility::GetTime());
|
||||
}
|
||||
|
||||
Service::OnNotificationSentChanged(GetSelf(), user, type, cr, author, text);
|
||||
Service::OnNotificationSentChanged(GetService(), user, type, cr, author, text);
|
||||
|
||||
Log(LogInformation, "icinga", "Completed sending notification for service '" + GetService()->GetName() + "'");
|
||||
} catch (const std::exception& ex) {
|
||||
|
|
Loading…
Reference in New Issue