diff --git a/objectstore/RootEntry.cpp b/objectstore/RootEntry.cpp index e681ee67ff14a35b65e5870e4f9804f4329483ca..eada97c40ff26ed51373c0d1ed591d461726c2a5 100644 --- a/objectstore/RootEntry.cpp +++ b/objectstore/RootEntry.cpp @@ -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();