mirror of https://github.com/Icinga/icinga2.git
Merge pull request #8593 from Icinga/bugfix/activate-items-assertion
Remove incorrect assertion in ConfigItem::ActivateItems
This commit is contained in:
commit
3976f256a8
|
@ -697,17 +697,6 @@ bool ConfigItem::ActivateItems(const std::vector<ConfigItem::Ptr>& newItems, boo
|
|||
}
|
||||
}
|
||||
|
||||
#ifdef I2_DEBUG
|
||||
for (const ConfigItem::Ptr& item : newItems) {
|
||||
ConfigObject::Ptr object = item->m_Object;
|
||||
|
||||
if (!object)
|
||||
continue;
|
||||
|
||||
ASSERT(object && object->IsActive());
|
||||
}
|
||||
#endif /* I2_DEBUG */
|
||||
|
||||
if (!silent)
|
||||
Log(LogInformation, "ConfigItem", "Activated all objects.");
|
||||
|
||||
|
|
Loading…
Reference in New Issue