mirror of https://github.com/Icinga/icinga2.git
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…
Reference in New Issue