summaryrefslogtreecommitdiff
path: root/src/mongo/db/commands/current_op_common.cpp
diff options
context:
space:
mode:
authorHana Pearlman <hana.pearlman@mongodb.com>2022-03-28 21:32:48 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2022-03-28 22:52:34 +0000
commit6eb0a1b696278d4473365a169ae08f51c8a12388 (patch)
tree1fdb2b9705f131f9ae513ded5eecebcf46f8fc58 /src/mongo/db/commands/current_op_common.cpp
parent51918a385ab8b3fc1f922bede326ff84e846a47b (diff)
downloadmongo-6eb0a1b696278d4473365a169ae08f51c8a12388.tar.gz
SERVER-64359: Implement FLE server-side rewrite for agg command on mongos
Diffstat (limited to 'src/mongo/db/commands/current_op_common.cpp')
-rw-r--r--src/mongo/db/commands/current_op_common.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/db/commands/current_op_common.cpp b/src/mongo/db/commands/current_op_common.cpp
index d44d5c066d2..6b816a79057 100644
--- a/src/mongo/db/commands/current_op_common.cpp
+++ b/src/mongo/db/commands/current_op_common.cpp
@@ -110,8 +110,8 @@ bool CurrentOpCommandBase::run(OperationContext* opCtx,
pipeline.push_back(groupBuilder.obj());
// Pipeline is complete; create an AggregateCommandRequest for $currentOp.
- const AggregateCommandRequest request(NamespaceString::makeCollectionlessAggregateNSS("admin"),
- std::move(pipeline));
+ AggregateCommandRequest request(NamespaceString::makeCollectionlessAggregateNSS("admin"),
+ std::move(pipeline));
// Run the pipeline and obtain a CursorResponse.
auto aggResults = uassertStatusOK(runAggregation(opCtx, request));