mirror of https://github.com/Icinga/icinga2.git
Merge pull request #6574 from gunnarbeutner/fix/move-downtime-constants
Move new downtime constants into the Icinga namespace
This commit is contained in:
commit
f0c9098a28
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue