From 17c713117716289e9249106a6ee1cc1ad36fe283 Mon Sep 17 00:00:00 2001 From: Gunnar Beutner Date: Sat, 25 Aug 2018 19:35:01 +0200 Subject: [PATCH] Move new downtime constants into the Icinga namespace --- lib/icinga/downtime.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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