mirror of
https://github.com/Icinga/icinga2.git
synced 2025-04-08 17:05:25 +02:00
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…
x
Reference in New Issue
Block a user