mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-23 21:55:03 +02:00
Bugfix for slave notification objects.
This commit is contained in:
parent
8ab803aac0
commit
07acb1c553
@ -213,9 +213,10 @@ void Service::OnAttributeChanged(const String& name, const Value& oldValue)
|
|||||||
OnNextCheckChanged(GetSelf(), oldValue);
|
OnNextCheckChanged(GetSelf(), oldValue);
|
||||||
else if (name == "servicegroups")
|
else if (name == "servicegroups")
|
||||||
ServiceGroup::InvalidateMembersCache();
|
ServiceGroup::InvalidateMembersCache();
|
||||||
else if (name == "host_name" || name == "short_name")
|
else if (name == "host_name" || name == "short_name") {
|
||||||
Host::InvalidateServicesCache();
|
Host::InvalidateServicesCache();
|
||||||
else if (name == "downtimes")
|
UpdateSlaveNotifications();
|
||||||
|
} else if (name == "downtimes")
|
||||||
Service::InvalidateDowntimeCache();
|
Service::InvalidateDowntimeCache();
|
||||||
else if (name == "comments")
|
else if (name == "comments")
|
||||||
Service::InvalidateCommentCache();
|
Service::InvalidateCommentCache();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user