summaryrefslogtreecommitdiff
path: root/src/mongo/db/commands/resize_oplog.cpp
diff options
context:
space:
mode:
authorSophia Tan <sophia_tll@hotmail.com>2022-08-03 18:14:03 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2022-08-10 04:10:22 +0000
commite008eb5f1e07997139ae3acd81152b6180e9e312 (patch)
tree70fe5516b13661f1007f1cc1bf4d3208b932e3e6 /src/mongo/db/commands/resize_oplog.cpp
parent1ad5ef42f5161542550262647ab79e85cc6a7cf2 (diff)
downloadmongo-e008eb5f1e07997139ae3acd81152b6180e9e312.tar.gz
SERVER-67459 Change BasicCommand to use DatabaseName
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 8a834ec2af0..5aa3c693dab 100644
--- a/src/mongo/db/commands/resize_oplog.cpp
+++ b/src/mongo/db/commands/resize_oplog.cpp
@@ -79,7 +79,7 @@ public:
}
bool run(OperationContext* opCtx,
- const std::string& dbname,
+ const DatabaseName&,
const BSONObj& jsobj,
BSONObjBuilder& result) {
AutoGetCollection coll(opCtx, NamespaceString::kRsOplogNamespace, MODE_X);