summaryrefslogtreecommitdiff
path: root/src/mongo/s/commands/cluster_create_cmd.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/s/commands/cluster_create_cmd.cpp')
-rw-r--r--src/mongo/s/commands/cluster_create_cmd.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/s/commands/cluster_create_cmd.cpp b/src/mongo/s/commands/cluster_create_cmd.cpp
index b7c6d5ea88b..f6496645e22 100644
--- a/src/mongo/s/commands/cluster_create_cmd.cpp
+++ b/src/mongo/s/commands/cluster_create_cmd.cpp
@@ -108,7 +108,7 @@ public:
void doCheckAuthorization(OperationContext* opCtx) const final {
uassertStatusOK(auth::checkAuthForCreate(
- AuthorizationSession::get(opCtx->getClient()), request(), true));
+ opCtx, AuthorizationSession::get(opCtx->getClient()), request(), true));
}
CreateCommandReply typedRun(OperationContext* opCtx) final {