mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-22 05:04:30 +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;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
arg.SkipValue = arg.SkipValue || arg.AValue.GetType() == ValueEmpty;
|
||||||
|
|
||||||
args.emplace_back(std::move(arg));
|
args.emplace_back(std::move(arg));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user