]> granicus.if.org Git - icinga2/commitdiff
Fix missing name for workqueue while creating runtime objects via API 6377/head
authorMichael Friedrich <michael.friedrich@icinga.com>
Fri, 15 Jun 2018 12:25:03 +0000 (14:25 +0200)
committerMichael Friedrich <michael.friedrich@icinga.com>
Fri, 15 Jun 2018 12:25:03 +0000 (14:25 +0200)
fixes #6364

lib/remote/configobjectutility.cpp

index ea58ba79dc641728b094007b503a0500d1a923ca..fff206328b6594be84f3cd13c9bee80cdce546b9 100644 (file)
@@ -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)) {