Commit f50734f3 authored by Eric Cano's avatar Eric Cano
Browse files

Fixed wrong object name for drive register.

parent f003f75b
......@@ -575,7 +575,7 @@ std::string cta::objectstore::RootEntry::addOrGetDriveRegisterPointerAndCommit(
} catch (NotAllocated &) {
// decide on the object's name and add to agent's intent. We expect the
// agent to be passed locked.
std::string drAddress (agent.nextId("agentRegister"));
std::string drAddress (agent.nextId("driveRegister"));
ScopedExclusiveLock agl(agent);
agent.fetch();
agent.addToOwnership(drAddress);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment