summaryrefslogtreecommitdiff
path: root/src/mongo/s/catalog_cache_test_fixture.cpp
diff options
context:
space:
mode:
authorKaloian Manassiev <kaloian.manassiev@mongodb.com>2017-12-28 15:57:04 -0500
committerKaloian Manassiev <kaloian.manassiev@mongodb.com>2017-12-29 10:54:45 -0500
commita0210b2e83641619eed60c8b19eb1abd7cf37fa1 (patch)
tree9c313f6551335deb95dc8fe723a9335ced5b254e /src/mongo/s/catalog_cache_test_fixture.cpp
parent98f30b75b31c54464d5a907f435c15121a6c5353 (diff)
downloadmongo-a0210b2e83641619eed60c8b19eb1abd7cf37fa1.tar.gz
SERVER-32480 Remove CatalogCache retrieval methods, which take StringData
Diffstat (limited to 'src/mongo/s/catalog_cache_test_fixture.cpp')
-rw-r--r--src/mongo/s/catalog_cache_test_fixture.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/s/catalog_cache_test_fixture.cpp b/src/mongo/s/catalog_cache_test_fixture.cpp
index 0945008e883..1d50c4d29a3 100644
--- a/src/mongo/s/catalog_cache_test_fixture.cpp
+++ b/src/mongo/s/catalog_cache_test_fixture.cpp
@@ -64,7 +64,7 @@ CatalogCacheTestFixture::scheduleRoutingInfoRefresh(const NamespaceString& nss)
auto client = serviceContext()->makeClient("Test");
auto opCtx = client->makeOperationContext();
auto const catalogCache = Grid::get(serviceContext())->catalogCache();
- catalogCache->invalidateShardedCollection(nss.ns());
+ catalogCache->invalidateShardedCollection(nss);
return boost::make_optional(
uassertStatusOK(catalogCache->getCollectionRoutingInfo(opCtx.get(), nss)));