From 019b35df88131c95bcbb0cc68bc16c523de7f91f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Barth=C3=A9l=C3=A9my=20von=20Haller?= Date: Thu, 20 Jun 2019 11:27:39 +0200 Subject: [PATCH] Objects names sent to consul must be full path (QC-196) (#191) --- Framework/src/ObjectsManager.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Framework/src/ObjectsManager.cxx b/Framework/src/ObjectsManager.cxx index 70a0da7221..04ecb33b9b 100644 --- a/Framework/src/ObjectsManager.cxx +++ b/Framework/src/ObjectsManager.cxx @@ -57,7 +57,7 @@ void ObjectsManager::updateServiceDiscovery() // prepare the string of comma separated objects and publish it string objects; for (auto mo : mMonitorObjects) { - objects += string(mo->GetName()) + ","; + objects += mTaskConfig.taskName + "/" + mo->GetName() + ","; } objects.pop_back(); mServiceDiscovery->_register(objects);