From: Gunnar Beutner Date: Sat, 25 Aug 2018 17:35:01 +0000 (+0200) Subject: Move new downtime constants into the Icinga namespace X-Git-Tag: v2.10.0~51^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=17c713117716289e9249106a6ee1cc1ad36fe283;p=icinga2 Move new downtime constants into the Icinga namespace --- diff --git a/lib/icinga/downtime.cpp b/lib/icinga/downtime.cpp index 6e5bc0210..aafefadb2 100644 --- a/lib/icinga/downtime.cpp +++ b/lib/icinga/downtime.cpp @@ -46,9 +46,9 @@ INITIALIZE_ONCE(&Downtime::StaticInitialize); void Downtime::StaticInitialize() { - ScriptGlobal::Set("DowntimeNoChildren", "DowntimeNoChildren"); - ScriptGlobal::Set("DowntimeTriggeredChildren", "DowntimeTriggeredChildren"); - ScriptGlobal::Set("DowntimeNonTriggeredChildren", "DowntimeNonTriggeredChildren"); + ScriptGlobal::Set("Icinga.DowntimeNoChildren", "DowntimeNoChildren", true); + ScriptGlobal::Set("Icinga.DowntimeTriggeredChildren", "DowntimeTriggeredChildren", true); + ScriptGlobal::Set("Icinga.DowntimeNonTriggeredChildren", "DowntimeNonTriggeredChildren", true); } String DowntimeNameComposer::MakeName(const String& shortName, const Object::Ptr& context) const