Bugfix for slave notification objects.

This commit is contained in:
Gunnar Beutner 2013-02-11 16:25:32 +01:00
parent 8ab803aac0
commit 07acb1c553
1 changed files with 3 additions and 2 deletions

View File

@ -213,9 +213,10 @@ void Service::OnAttributeChanged(const String& name, const Value& oldValue)
OnNextCheckChanged(GetSelf(), oldValue);
else if (name == "servicegroups")
ServiceGroup::InvalidateMembersCache();
else if (name == "host_name" || name == "short_name")
else if (name == "host_name" || name == "short_name") {
Host::InvalidateServicesCache();
else if (name == "downtimes")
UpdateSlaveNotifications();
} else if (name == "downtimes")
Service::InvalidateDowntimeCache();
else if (name == "comments")
Service::InvalidateCommentCache();