diff options
Diffstat (limited to 'src/mongo/db/commands/run_aggregate.cpp')
-rw-r--r-- | src/mongo/db/commands/run_aggregate.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/commands/run_aggregate.cpp b/src/mongo/db/commands/run_aggregate.cpp index 01ed5a70a0a..981a692634e 100644 --- a/src/mongo/db/commands/run_aggregate.cpp +++ b/src/mongo/db/commands/run_aggregate.cpp @@ -885,7 +885,7 @@ Status runAggregate(OperationContext* opCtx, // This is prerequisite for future shard versioning checks. ScopedSetShardRole scopedSetShardRole(opCtx, resolvedView.getNamespace(), - ChunkVersion::UNSHARDED() /* shardVersion */, + ShardVersion::UNSHARDED() /* shardVersion */, boost::none /* databaseVersion */); uassert(std::move(resolvedView), |