mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-27 07:34:15 +02:00
Fix missing name for workqueue while creating runtime objects via API
fixes #6364
This commit is contained in:
parent
3f41a28ac5
commit
b9bfe70444
@ -139,6 +139,8 @@ bool ConfigObjectUtility::CreateObject(const Type::Ptr& type, const String& full
|
|||||||
expr.reset();
|
expr.reset();
|
||||||
|
|
||||||
WorkQueue upq;
|
WorkQueue upq;
|
||||||
|
upq.SetName("ConfigObjectUtility::CreateObject");
|
||||||
|
|
||||||
std::vector<ConfigItem::Ptr> newItems;
|
std::vector<ConfigItem::Ptr> newItems;
|
||||||
|
|
||||||
if (!ConfigItem::CommitItems(ascope.GetContext(), upq, newItems) || !ConfigItem::ActivateItems(upq, newItems, true)) {
|
if (!ConfigItem::CommitItems(ascope.GetContext(), upq, newItems) || !ConfigItem::ActivateItems(upq, newItems, true)) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user