mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-17 10:44:29 +02:00
parent
7a107b7dbd
commit
7e4da258fc
@ -520,13 +520,15 @@ void StatusDataWriter::DumpCustomAttributes(std::ostream& fp, const DynamicObjec
|
|||||||
|
|
||||||
ObjectLock olock(custom);
|
ObjectLock olock(custom);
|
||||||
BOOST_FOREACH(const Dictionary::Pair& kv, custom) {
|
BOOST_FOREACH(const Dictionary::Pair& kv, custom) {
|
||||||
fp << "\t";
|
if (!kv.first.IsEmpty()) {
|
||||||
|
fp << "\t";
|
||||||
|
|
||||||
if (kv.first != "notes" && kv.first != "action_url" && kv.first != "notes_url" &&
|
if (kv.first != "notes" && kv.first != "action_url" && kv.first != "notes_url" &&
|
||||||
kv.first != "icon_image" && kv.first != "icon_image_alt" && kv.first != "statusmap_image" && kv.first != "2d_coords")
|
kv.first != "icon_image" && kv.first != "icon_image_alt" && kv.first != "statusmap_image" && kv.first != "2d_coords")
|
||||||
fp << "_";
|
fp << "_";
|
||||||
|
|
||||||
fp << kv.first << "\t" << kv.second << "\n";
|
fp << kv.first << "\t" << kv.second << "\n";
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user