diff options
Diffstat (limited to 'src/mongo/s/commands/cluster_pipeline_cmd.cpp')
-rw-r--r-- | src/mongo/s/commands/cluster_pipeline_cmd.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mongo/s/commands/cluster_pipeline_cmd.cpp b/src/mongo/s/commands/cluster_pipeline_cmd.cpp index f48df3af94d..ba0fba16362 100644 --- a/src/mongo/s/commands/cluster_pipeline_cmd.cpp +++ b/src/mongo/s/commands/cluster_pipeline_cmd.cpp @@ -94,7 +94,7 @@ public: public: Invocation(Command* cmd, const OpMsgRequest& request, - const AggregateCommand aggregationRequest, + const AggregateCommandRequest aggregationRequest, PrivilegeVector privileges) : CommandInvocation(cmd), _request(request), @@ -169,7 +169,7 @@ public: const OpMsgRequest& _request; const std::string _dbName; - const AggregateCommand _aggregationRequest; + const AggregateCommandRequest _aggregationRequest; const LiteParsedPipeline _liteParsedPipeline; const PrivilegeVector _privileges; }; @@ -188,7 +188,7 @@ public: } const AuthorizationContract* getAuthorizationContract() const final { - return &::mongo::AggregateCommand::kAuthorizationContract; + return &::mongo::AggregateCommandRequest::kAuthorizationContract; } } clusterPipelineCmd; |