diff options
Diffstat (limited to 'src/mongo/s/query/cluster_aggregate.cpp')
-rw-r--r-- | src/mongo/s/query/cluster_aggregate.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/s/query/cluster_aggregate.cpp b/src/mongo/s/query/cluster_aggregate.cpp index 943fe8b49bc..76a5d1003fd 100644 --- a/src/mongo/s/query/cluster_aggregate.cpp +++ b/src/mongo/s/query/cluster_aggregate.cpp @@ -952,7 +952,7 @@ Status ClusterAggregate::retryOnViewError(OperationContext* opCtx, result->resetToEmpty(); if (auto txnRouter = TransactionRouter::get(opCtx)) { - txnRouter->onViewResolutionError(opCtx, requestedNss); + txnRouter.onViewResolutionError(opCtx, requestedNss); } // We pass both the underlying collection namespace and the view namespace here. The |