Skip to content

Commit

Permalink
Objects names sent to consul must be full path (QC-196) (#191)
Browse files Browse the repository at this point in the history
  • Loading branch information
Barthelemy authored Jun 20, 2019
1 parent 5ef8ff6 commit 019b35d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Framework/src/ObjectsManager.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 019b35d

Please sign in to comment.