mirror of https://github.com/Icinga/icinga2.git
objects.cache: Add support for the "notes" attribute.
This commit is contained in:
parent
23c87f6eaf
commit
4766e801a2
|
@ -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";
|
||||
|
|
Loading…
Reference in New Issue