globals[key] works, although it wasn't documented how it behaves in the case when this field doesn't exist. Previously this has been a dictionary which silently returns null if the key doesn't exist. With v2.10, globals turned into a namespace which throws an error if not existing (which is the correct behaviour). In order to avoid configuration errors with 2.10, this is changed into `contains()` which has been sitting in dictionaries since 2014. So this patch ensures compatibility with older versions as well. |
||
---|---|---|
.. | ||
AgentWizard.php | ||
AssignRenderer.php | ||
ExtensibleSet.php | ||
IcingaConfig.php | ||
IcingaConfigFile.php | ||
IcingaConfigHelper.php | ||
IcingaConfigRendered.php | ||
IcingaConfigRenderer.php | ||
IcingaLegacyConfigHelper.php | ||
StateFilterSet.php | ||
TypeFilterSet.php |