From: Gunnar Beutner Date: Thu, 29 Aug 2013 17:48:54 +0000 (+0200) Subject: compat: Fix attribute name for hosts. X-Git-Tag: v0.0.3~647 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8729a809b36b1bc7ef9f2f9cb355a6235e671630;p=icinga2 compat: Fix attribute name for hosts. --- diff --git a/components/compat/compatcomponent.cpp b/components/compat/compatcomponent.cpp index 103ac417f..69f6732b7 100644 --- a/components/compat/compatcomponent.cpp +++ b/components/compat/compatcomponent.cpp @@ -365,7 +365,7 @@ void CompatComponent::DumpHostObject(std::ostream& fp, const Host::Ptr& host) { fp << "define host {" << "\n" << "\t" << "host_name" << "\t" << host->GetName() << "\n" - << "\t" << "display_name" << "\t" << host->GetDisplayName() << "\n"; + << "\t" << "alias" << "\t" << host->GetDisplayName() << "\n"; std::set parents = host->GetParentHosts();