]> granicus.if.org Git - icinga2/commitdiff
Bugfix: host and source groups don't have display names.
authorGunnar Beutner <gunnar.beutner@netways.de>
Sat, 9 Feb 2013 19:37:03 +0000 (20:37 +0100)
committerGunnar Beutner <gunnar.beutner@netways.de>
Sat, 9 Feb 2013 19:37:03 +0000 (20:37 +0100)
components/compat/compatcomponent.cpp

index dc56bbcf38be93dde898190c1f90ee78c366818a..1aef5b0fb807fc65da9c174282a9e09cfc738f38 100644 (file)
@@ -471,7 +471,6 @@ void CompatComponent::StatusTimerHandler(void)
 
                objectfp << "define hostgroup {" << "\n"
                         << "\t" << "hostgroup_name" << "\t" << hg->GetName() << "\n"
-                        << "\t" << "display_name" << "\t" << hg->GetDisplayName() << "\n"
                         << "\t" << "notes_url" << "\t" << hg->GetNotesUrl() << "\n"
                         << "\t" << "action_url" << "\t" << hg->GetActionUrl() << "\n";
 
@@ -493,7 +492,6 @@ void CompatComponent::StatusTimerHandler(void)
 
                objectfp << "define servicegroup {" << "\n"
                         << "\t" << "servicegroup_name" << "\t" << sg->GetName() << "\n"
-                        << "\t" << "display_name" << "\t" << sg->GetDisplayName() << "\n"
                         << "\t" << "notes_url" << "\t" << sg->GetNotesUrl() << "\n"
                         << "\t" << "action_url" << "\t" << sg->GetActionUrl() << "\n";