From: Michael Friedrich Date: Mon, 5 Aug 2013 15:01:40 +0000 (+0200) Subject: Compat: fix servicedependency (parent service description) X-Git-Tag: v0.0.3~735 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=074f7cd389f62a33f79853774a9abfd4f228a955;p=icinga2 Compat: fix servicedependency (parent service description) --- diff --git a/components/compat/compatcomponent.cpp b/components/compat/compatcomponent.cpp index 9f815cbef..225c8b4ae 100644 --- a/components/compat/compatcomponent.cpp +++ b/components/compat/compatcomponent.cpp @@ -557,7 +557,7 @@ void CompatComponent::DumpServiceObject(std::ostream& fp, const Service::Ptr& se << "\t" << "dependent_host_name" << "\t" << host->GetName() << "\n" << "\t" << "dependent_service_description" << "\t" << service->GetShortName() << "\n" << "\t" << "host_name" << "\t" << parent_host->GetName() << "\n" - << "\t" << "service_description" << "\t" << service->GetShortName() << "\n" + << "\t" << "service_description" << "\t" << parent->GetShortName() << "\n" << "\t" << "execution_failure_criteria" << "\t" << "n" << "\n" << "\t" << "notification_failure_criteria" << "\t" << "w,u,c" << "\n" << "\t" << "}" << "\n"