[icinga-checkins] icinga.org: icinga2/master: Bugfix: host and source groups don' t have display names.

git at icinga.org git at icinga.org
Sat Feb 9 20:37:10 CET 2013


Module: icinga2
Branch: master
Commit: f8851aa79d3c9a9631ebd0b67dfdde4af93b2698
URL:    https://git.icinga.org/?p=icinga2.git;a=commit;h=f8851aa79d3c9a9631ebd0b67dfdde4af93b2698

Author: Gunnar Beutner <gunnar.beutner at netways.de>
Date:   Sat Feb  9 20:37:03 2013 +0100

Bugfix: host and source groups don't have display names.

---

 components/compat/compatcomponent.cpp |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/components/compat/compatcomponent.cpp b/components/compat/compatcomponent.cpp
index dc56bbc..1aef5b0 100644
--- a/components/compat/compatcomponent.cpp
+++ b/components/compat/compatcomponent.cpp
@@ -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";
 





More information about the icinga-checkins mailing list