mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-23 13:45:04 +02:00
Merge pull request #6377 from Icinga/fix/wq-name
Fix missing name for workqueue while creating runtime objects via API
This commit is contained in:
commit
8aaabea54f
@ -139,6 +139,8 @@ bool ConfigObjectUtility::CreateObject(const Type::Ptr& type, const String& full
|
||||
expr.reset();
|
||||
|
||||
WorkQueue upq;
|
||||
upq.SetName("ConfigObjectUtility::CreateObject");
|
||||
|
||||
std::vector<ConfigItem::Ptr> newItems;
|
||||
|
||||
if (!ConfigItem::CommitItems(ascope.GetContext(), upq, newItems) || !ConfigItem::ActivateItems(upq, newItems, true)) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user