mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2026-05-28 04:35:53 -04:00
CustomVariables(Legacy): Ignore ARGn vars in toLegacyConfigString
refs #12919
This commit is contained in:
parent
6b9d23cdd5
commit
df299fe314
1 changed files with 6 additions and 0 deletions
|
|
@ -295,6 +295,12 @@ class CustomVariables implements Iterator, Countable, IcingaConfigRenderer
|
|||
/** @var CustomVariable $var */
|
||||
// TODO: ctype_alnum + underscore?
|
||||
$value = null;
|
||||
|
||||
// vars with ARGn will be handled by IcingaObject::renderLegacyCheck_command
|
||||
if (substr($key, 0, 3) == 'ARG') {
|
||||
continue;
|
||||
}
|
||||
|
||||
switch ($type = $var->getType()) {
|
||||
case 'String':
|
||||
# TODO: Make Prefetchable
|
||||
|
|
|
|||
Loading…
Reference in a new issue