diff options
Diffstat (limited to 'src/mongo/db/commands/current_op.cpp')
| -rw-r--r-- | src/mongo/db/commands/current_op.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/mongo/db/commands/current_op.cpp b/src/mongo/db/commands/current_op.cpp index b4a16bc40cb..78fec805202 100644 --- a/src/mongo/db/commands/current_op.cpp +++ b/src/mongo/db/commands/current_op.cpp @@ -77,7 +77,12 @@ public: privileges = {Privilege(ResourcePattern::forClusterResource(), ActionType::inprog)}; } - auto status = runAggregate(opCtx, request, std::move(aggCmdObj), privileges, &replyBuilder); + auto status = runAggregate(opCtx, + request.getNamespace(), + request, + std::move(aggCmdObj), + privileges, + &replyBuilder); if (!status.isOK()) { return status; |
