summaryrefslogtreecommitdiff
path: root/src/mongo/db/commands/resize_oplog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/commands/resize_oplog.cpp')
-rw-r--r--src/mongo/db/commands/resize_oplog.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/commands/resize_oplog.cpp b/src/mongo/db/commands/resize_oplog.cpp
index d82c4321695..726cf043b5d 100644
--- a/src/mongo/db/commands/resize_oplog.cpp
+++ b/src/mongo/db/commands/resize_oplog.cpp
@@ -87,7 +87,7 @@ public:
BSONObjBuilder& result) {
const NamespaceString nss("local", "oplog.rs");
Lock::GlobalWrite global(opCtx);
- Database* database = dbHolder().get(opCtx, nss.db());
+ Database* database = DatabaseHolder::getDatabaseHolder().get(opCtx, nss.db());
if (!database) {
return CommandHelpers::appendCommandStatus(
result, Status(ErrorCodes::NamespaceNotFound, "database local does not exist"));