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