mirror of https://github.com/Icinga/icinga2.git
Merge pull request #7567 from Icinga/bugfix/apt-dist-upgrade-7558
MacroProcessor::ResolveArguments(): skip null argument values
This commit is contained in:
commit
88c1a197b4
|
@ -511,6 +511,8 @@ Value MacroProcessor::ResolveArguments(const Value& command, const Dictionary::P
|
|||
continue;
|
||||
}
|
||||
|
||||
arg.SkipValue = arg.SkipValue || arg.AValue.GetType() == ValueEmpty;
|
||||
|
||||
args.emplace_back(std::move(arg));
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue