]> granicus.if.org Git - icinga2/commitdiff
Make sure the scheduling offset is set properly for hosts.
authorGunnar Beutner <gunnar.beutner@netways.de>
Fri, 11 Apr 2014 12:57:16 +0000 (14:57 +0200)
committerGunnar Beutner <gunnar.beutner@netways.de>
Fri, 11 Apr 2014 12:57:16 +0000 (14:57 +0200)
Refs #5909

lib/icinga/host.cpp

index aaf427d9501f7ad317705dbcaabf89897751cd72..979388fcc69fbefd6303aec2cc5c63b37957fc11 100644 (file)
@@ -41,7 +41,7 @@ REGISTER_TYPE(Host);
 
 void Host::OnConfigLoaded(void)
 {
-       DynamicObject::OnConfigLoaded();
+       Checkable::OnConfigLoaded();
 
        ASSERT(!OwnsLock());
 
@@ -61,7 +61,7 @@ void Host::OnConfigLoaded(void)
 
 void Host::Stop(void)
 {
-       DynamicObject::Stop();
+       Checkable::Stop();
 
        Array::Ptr groups = GetGroups();