From: Michael Friedrich Date: Sat, 22 Sep 2012 13:07:22 +0000 (+0200) Subject: Revert "s/cibsync/replication/g in icingaapplication lib, loading the right component" X-Git-Tag: v0.0.1~82 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=236158330839776098569b789c70a39fe62583cd;p=icinga2 Revert "s/cibsync/replication/g in icingaapplication lib, loading the right component" This reverts commit 159e5c79662bacd6ae4c5e0a29c358b1c833149c. --- diff --git a/lib/icinga/icingaapplication.cpp b/lib/icinga/icingaapplication.cpp index f875657fa..9d7f91096 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 replication config component */ - ConfigItemBuilder::Ptr replicationComponentConfig = boost::make_shared(); - replicationComponentConfig->SetType("Component"); - replicationComponentConfig->SetName("replication"); - replicationComponentConfig->SetLocal(true); - replicationComponentConfig->Compile()->Commit(); - replicationComponentConfig.reset(); + /* 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 convenience config component */ ConfigItemBuilder::Ptr convenienceComponentConfig = boost::make_shared();