]> granicus.if.org Git - icinga2/commitdiff
Revert "s/cibsync/replication/g in icingaapplication lib, loading the right component"
authorMichael Friedrich <michael.friedrich@gmail.com>
Sat, 22 Sep 2012 13:07:22 +0000 (15:07 +0200)
committerMichael Friedrich <michael.friedrich@gmail.com>
Sat, 22 Sep 2012 13:07:22 +0000 (15:07 +0200)
This reverts commit 159e5c79662bacd6ae4c5e0a29c358b1c833149c.

lib/icinga/icingaapplication.cpp

index f875657faafdb4ff8859a7d57ad9b0d763f8ea94..9d7f9109604e98841ee0ae904b9bf4c160652e13 100644 (file)
@@ -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<ConfigItemBuilder>();
-       replicationComponentConfig->SetType("Component");
-       replicationComponentConfig->SetName("replication");
-       replicationComponentConfig->SetLocal(true);
-       replicationComponentConfig->Compile()->Commit();
-       replicationComponentConfig.reset();
+       /* load cibsync config component */
+       ConfigItemBuilder::Ptr cibsyncComponentConfig = boost::make_shared<ConfigItemBuilder>();
+       cibsyncComponentConfig->SetType("Component");
+       cibsyncComponentConfig->SetName("cibsync");
+       cibsyncComponentConfig->SetLocal(true);
+       cibsyncComponentConfig->Compile()->Commit();
+       cibsyncComponentConfig.reset();
 
        /* load convenience config component */
        ConfigItemBuilder::Ptr convenienceComponentConfig = boost::make_shared<ConfigItemBuilder>();