Skip to content
Snippets Groups Projects
Commit 06357583 authored by Eric Cano's avatar Eric Cano
Browse files

Reinstated accidentally removed function

parent 3cd29d92
No related branches found
No related tags found
No related merge requests found
......@@ -108,10 +108,10 @@ void cta::objectstore::RootEntry::deleteFromIntendedAgentRegistry(const std::str
}
void cta::objectstore::RootEntry::setAgentRegister(const std::string& name) {
throw cta::exception::Exception("TODO");
checkPayloadWritable();
m_payload.set_agentregister(name);
}
// Get the name of the JobPool (or exception if not available)
std::string cta::objectstore::RootEntry::getJobPool() {
checkPayloadReadable();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment