mirror of https://github.com/Icinga/icinga2.git
compat: Fix attribute name for hosts.
This commit is contained in:
parent
c9ec28440e
commit
8729a809b3
|
@ -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<Host::Ptr> parents = host->GetParentHosts();
|
||||
|
||||
|
|
Loading…
Reference in New Issue