From 9c84213a1b81621c065f2b02a77d571dae90529f Mon Sep 17 00:00:00 2001 From: Gunnar Beutner Date: Wed, 25 Sep 2013 09:24:34 +0200 Subject: [PATCH] Build fix. --- lib/icinga/service.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/icinga/service.cpp b/lib/icinga/service.cpp index 33493fc73..465befd99 100644 --- a/lib/icinga/service.cpp +++ b/lib/icinga/service.cpp @@ -123,7 +123,7 @@ Array::Ptr Service::GetServiceDependencies(void) const Array::Ptr Service::GetGroups(void) const { - return m_ServiceGroups; + return m_Groups; } String Service::GetHostName(void) const @@ -414,7 +414,7 @@ void Service::InternalSerialize(const Dictionary::Ptr& bag, int attributeTypes) bag->Set("macros", m_Macros); bag->Set("host_dependencies", m_HostDependencies); bag->Set("service_dependencies", m_ServiceDependencies); - bag->Set("servicegroups", m_ServiceGroups); + bag->Set("groups", m_Groups); bag->Set("check_command", m_CheckCommand); bag->Set("max_check_attempts", m_MaxCheckAttempts); bag->Set("check_period", m_CheckPeriod); @@ -472,7 +472,7 @@ void Service::InternalDeserialize(const Dictionary::Ptr& bag, int attributeTypes m_Macros = bag->Get("macros"); m_HostDependencies = bag->Get("host_dependencies"); m_ServiceDependencies = bag->Get("service_dependencies"); - m_ServiceGroups = bag->Get("servicegroups"); + m_Groups = bag->Get("groups"); m_CheckCommand = bag->Get("check_command"); m_MaxCheckAttempts = bag->Get("max_check_attempts"); m_CheckPeriod = bag->Get("check_period"); -- 2.40.0