[icinga-checkins] icinga.org: icinga2/master: Fix: Deleting downtimes doesn't work

git at icinga.org git at icinga.org
Tue Mar 12 22:49:54 CET 2013


Module: icinga2
Branch: master
Commit: 5b662b3c764ab7631fa64b979cc74f7e24505600
URL:    https://git.icinga.org/?p=icinga2.git;a=commit;h=5b662b3c764ab7631fa64b979cc74f7e24505600

Author: Gunnar Beutner <gunnar.beutner at netways.de>
Date:   Tue Mar 12 22:49:11 2013 +0100

Fix: Deleting downtimes doesn't work

Fixes #3825

---

 lib/icinga/service-downtime.cpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/lib/icinga/service-downtime.cpp b/lib/icinga/service-downtime.cpp
index 3d04336..fb608f5 100644
--- a/lib/icinga/service-downtime.cpp
+++ b/lib/icinga/service-downtime.cpp
@@ -257,7 +257,7 @@ void Service::InvalidateDowntimesCache(void)
 	if (!m_DowntimesCacheTimer) {
 		m_DowntimesCacheTimer = boost::make_shared<Timer>();
 		m_DowntimesCacheTimer->SetInterval(0.5);
-		m_DowntimesCacheTimer->OnTimerExpired.connect(boost::bind(&Service::RefreshNotificationsCache));
+		m_DowntimesCacheTimer->OnTimerExpired.connect(boost::bind(&Service::RefreshDowntimesCache));
 		m_DowntimesCacheTimer->Start();
 	}
 





More information about the icinga-checkins mailing list