summaryrefslogtreecommitdiff
path: root/src/mongo/s/catalog/sharding_catalog_assign_key_range_to_zone_test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/s/catalog/sharding_catalog_assign_key_range_to_zone_test.cpp')
-rw-r--r--src/mongo/s/catalog/sharding_catalog_assign_key_range_to_zone_test.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/mongo/s/catalog/sharding_catalog_assign_key_range_to_zone_test.cpp b/src/mongo/s/catalog/sharding_catalog_assign_key_range_to_zone_test.cpp
index 104a97a3f6a..2f79b9e6f12 100644
--- a/src/mongo/s/catalog/sharding_catalog_assign_key_range_to_zone_test.cpp
+++ b/src/mongo/s/catalog/sharding_catalog_assign_key_range_to_zone_test.cpp
@@ -87,13 +87,13 @@ public:
const ChunkRange& range,
const string& zoneName) {
auto findStatus =
- getConfigShard()->exhaustiveFindOnConfig(operationContext(),
- kReadPref,
- repl::ReadConcernLevel::kMajorityReadConcern,
- NamespaceString(TagsType::ConfigNS),
- BSONObj(),
- BSONObj(),
- 1);
+ getConfigShard()->exhaustiveFind(operationContext(),
+ kReadPref,
+ repl::ReadConcernLevel::kMajorityReadConcern,
+ NamespaceString(TagsType::ConfigNS),
+ BSONObj(),
+ BSONObj(),
+ 1);
ASSERT_OK(findStatus.getStatus());
auto findResult = findStatus.getValue();