]> granicus.if.org Git - icinga2/commitdiff
Fixed configrpc module.
authorGunnar Beutner <gunnar.beutner@netways.de>
Fri, 29 Jun 2012 09:59:53 +0000 (11:59 +0200)
committerGunnar Beutner <gunnar.beutner@netways.de>
Fri, 29 Jun 2012 09:59:53 +0000 (11:59 +0200)
components/configrpc/configrpccomponent.cpp

index 3b6412f3609e5062d7f30c7b5a86390f34ca4c57..eab88d432c36e88a1cee7f99d9db74e890d364d0 100644 (file)
@@ -113,7 +113,7 @@ void ConfigRpcComponent::FetchObjectsHandler(const Endpoint::Ptr& sender)
                if (!ShouldReplicateObject(object))
                        continue;
 
-               RequestMessage request = MakeObjectMessage(object, "config::ObjectCreated", true);
+               RequestMessage request = MakeObjectMessage(object, "config::ObjectCommitted", true);
 
                EndpointManager::GetInstance()->SendUnicastMessage(m_ConfigRpcEndpoint, sender, request);
        }
@@ -125,7 +125,7 @@ void ConfigRpcComponent::LocalObjectCommittedHandler(const ConfigObject::Ptr& ob
                return;
 
        EndpointManager::GetInstance()->SendMulticastMessage(m_ConfigRpcEndpoint,
-           MakeObjectMessage(object, "config::ObjectCreated", true));
+           MakeObjectMessage(object, "config::ObjectCommitted", true));
 }
 
 void ConfigRpcComponent::LocalObjectRemovedHandler(const ConfigObject::Ptr& object)