mirror of
https://github.com/Icinga/icinga2.git
synced 2025-04-08 17:05:25 +02:00
MacroProcessor::ResolveArguments(): skip null argument values
refs #7558
This commit is contained in:
parent
43f7d35a45
commit
e4bdcedbca
@ -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