CustomVariables(Legacy): Ignore ARGn vars in toLegacyConfigString
refs #12919
This commit is contained in:
parent
6b9d23cdd5
commit
df299fe314
|
@ -295,6 +295,12 @@ class CustomVariables implements Iterator, Countable, IcingaConfigRenderer
|
||||||
/** @var CustomVariable $var */
|
/** @var CustomVariable $var */
|
||||||
// TODO: ctype_alnum + underscore?
|
// TODO: ctype_alnum + underscore?
|
||||||
$value = null;
|
$value = null;
|
||||||
|
|
||||||
|
// vars with ARGn will be handled by IcingaObject::renderLegacyCheck_command
|
||||||
|
if (substr($key, 0, 3) == 'ARG') {
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
switch ($type = $var->getType()) {
|
switch ($type = $var->getType()) {
|
||||||
case 'String':
|
case 'String':
|
||||||
# TODO: Make Prefetchable
|
# TODO: Make Prefetchable
|
||||||
|
|
Loading…
Reference in New Issue