[icinga-checkins] icinga.org: icinga2/master: objects.cache: Add support for the "notes" attribute.

git at icinga.org git at icinga.org
Mon Jul 1 13:51:17 CEST 2013


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

Author: Gunnar Beutner <gunnar.beutner at netways.de>
Date:   Mon Jul  1 13:51:00 2013 +0200

objects.cache: Add support for the "notes" attribute.

---

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

diff --git a/components/compat/compatcomponent.cpp b/components/compat/compatcomponent.cpp
index 0f13e4e..dd4570d 100644
--- a/components/compat/compatcomponent.cpp
+++ b/components/compat/compatcomponent.cpp
@@ -518,8 +518,8 @@ void CompatComponent::DumpCustomAttributes(std::ostream& fp, const DynamicObject
 	BOOST_FOREACH(boost::tie(key, value), custom) {
 		fp << "\t";
 
-		if (key != "action_url" && key != "notes_url" && key != "icon_image" &&
-		    key != "icon_image_alt" && key != "statusmap_image" && "2d_coords")
+		if (key != "notes" && key != "action_url" && key != "notes_url" &&
+		    key != "icon_image" && key != "icon_image_alt" && key != "statusmap_image" && "2d_coords")
 			fp << "_";
 
 		fp << key << "\t" << Convert::ToString(value) << "\n";





More information about the icinga-checkins mailing list