mirror of
https://github.com/Icinga/icinga2.git
synced 2025-04-08 17:05:25 +02:00
Bugfix: Ignore missing macro dicts.
This commit is contained in:
parent
fc6df0ecbd
commit
7484b4682a
@ -62,6 +62,9 @@ Dictionary::Ptr MacroProcessor::MakeEnvironment(const vector<Dictionary::Ptr>& d
|
||||
Dictionary::Ptr result = boost::make_shared<Dictionary>();
|
||||
|
||||
BOOST_REVERSE_FOREACH(const Dictionary::Ptr& dict, dicts) {
|
||||
if (!dict)
|
||||
continue;
|
||||
|
||||
String key;
|
||||
Value value;
|
||||
BOOST_FOREACH(tie(key, value), dict) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user