diff options
Diffstat (limited to 'src/mongo/s/commands/cluster_pipeline_cmd.h')
-rw-r--r-- | src/mongo/s/commands/cluster_pipeline_cmd.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/s/commands/cluster_pipeline_cmd.h b/src/mongo/s/commands/cluster_pipeline_cmd.h index d2f6cff32eb..8ac60460ad8 100644 --- a/src/mongo/s/commands/cluster_pipeline_cmd.h +++ b/src/mongo/s/commands/cluster_pipeline_cmd.h @@ -155,7 +155,7 @@ public: void explain(OperationContext* opCtx, ExplainOptions::Verbosity verbosity, rpc::ReplyBuilderInterface* result) override { - Impl::checkCanRunHere(opCtx); + Impl::checkCanExplainHere(opCtx); auto bodyBuilder = result->getBodyBuilder(); _runAggCommand(opCtx, _dbName, _request.body, &bodyBuilder); } |