summaryrefslogtreecommitdiff
path: root/src/mongo/s/query/sharded_agg_test_fixture.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/s/query/sharded_agg_test_fixture.h')
-rw-r--r--src/mongo/s/query/sharded_agg_test_fixture.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/s/query/sharded_agg_test_fixture.h b/src/mongo/s/query/sharded_agg_test_fixture.h
index 87df3b43630..e87682c8f32 100644
--- a/src/mongo/s/query/sharded_agg_test_fixture.h
+++ b/src/mongo/s/query/sharded_agg_test_fixture.h
@@ -105,8 +105,8 @@ public:
expectCollectionAndIndexesAggregation(
nss, epoch, timestamp, UUID::gen(), shardKey, boost::none, {});
- const auto cm = future.default_timed_get();
- ASSERT(cm->isSharded());
+ const auto cri = future.default_timed_get();
+ ASSERT(cri->cm.isSharded());
}
protected: