From: Michael Friedrich Date: Sat, 15 Sep 2012 11:12:03 +0000 (+0200) Subject: s/cibsync/replication/g in icingaapplication lib, loading the right component X-Git-Tag: v0.0.1~89^2~1 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=159e5c79662bacd6ae4c5e0a29c358b1c833149c;p=icinga2 s/cibsync/replication/g in icingaapplication lib, loading the right component --- 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();