Skip to content

Commit 019b35d

Browse files
authored
Objects names sent to consul must be full path (QC-196) (#191)
1 parent 5ef8ff6 commit 019b35d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Framework/src/ObjectsManager.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ void ObjectsManager::updateServiceDiscovery()
5757
// prepare the string of comma separated objects and publish it
5858
string objects;
5959
for (auto mo : mMonitorObjects) {
60-
objects += string(mo->GetName()) + ",";
60+
objects += mTaskConfig.taskName + "/" + mo->GetName() + ",";
6161
}
6262
objects.pop_back();
6363
mServiceDiscovery->_register(objects);

0 commit comments

Comments
 (0)