Move new downtime constants into the Icinga namespace

This commit is contained in:
Gunnar Beutner 2018-08-25 19:35:01 +02:00
parent e4e28421e8
commit 17c7131177
1 changed files with 3 additions and 3 deletions

View File

@ -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