From d4fc6fc67244598b2eacb278a2ddd9ddc4dcaab9 Mon Sep 17 00:00:00 2001 From: Gunnar Beutner Date: Mon, 17 Sep 2012 13:32:59 +0200 Subject: [PATCH] Fix: Load the 'replication' component. --- lib/icinga/icingaapplication.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/lib/icinga/icingaapplication.cpp b/lib/icinga/icingaapplication.cpp index 9d7f91096..f875657fa 100644 --- a/lib/icinga/icingaapplication.cpp +++ b/lib/icinga/icingaapplication.cpp @@ -34,13 +34,13 @@ const String IcingaApplication::DefaultStatePath = "icinga.state"; IcingaApplication::IcingaApplication(const Dictionary::Ptr& serializedUpdate) : Application(serializedUpdate) { - /* load cibsync config component */ - ConfigItemBuilder::Ptr cibsyncComponentConfig = boost::make_shared(); - cibsyncComponentConfig->SetType("Component"); - cibsyncComponentConfig->SetName("cibsync"); - cibsyncComponentConfig->SetLocal(true); - cibsyncComponentConfig->Compile()->Commit(); - cibsyncComponentConfig.reset(); + /* load replication config component */ + ConfigItemBuilder::Ptr replicationComponentConfig = boost::make_shared(); + replicationComponentConfig->SetType("Component"); + replicationComponentConfig->SetName("replication"); + replicationComponentConfig->SetLocal(true); + replicationComponentConfig->Compile()->Commit(); + replicationComponentConfig.reset(); /* load convenience config component */ ConfigItemBuilder::Ptr convenienceComponentConfig = boost::make_shared();