mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-27 07:34:15 +02:00
Make sure IcingaApplication::GetVars returns a default value
refs #8074
This commit is contained in:
parent
262bfb7fc9
commit
343d46bcbe
@ -134,7 +134,7 @@ IcingaApplication::Ptr IcingaApplication::GetInstance(void)
|
|||||||
|
|
||||||
Dictionary::Ptr IcingaApplication::GetVars(void) const
|
Dictionary::Ptr IcingaApplication::GetVars(void) const
|
||||||
{
|
{
|
||||||
return ScriptGlobal::Get("Vars");
|
return ScriptGlobal::Get("Vars", &Empty);
|
||||||
}
|
}
|
||||||
|
|
||||||
String IcingaApplication::GetNodeName(void) const
|
String IcingaApplication::GetNodeName(void) const
|
||||||
|
Loading…
x
Reference in New Issue
Block a user