diff options
author | Kaloian Manassiev <kaloian.manassiev@mongodb.com> | 2017-12-28 15:57:04 -0500 |
---|---|---|
committer | Kaloian Manassiev <kaloian.manassiev@mongodb.com> | 2017-12-29 10:54:45 -0500 |
commit | a0210b2e83641619eed60c8b19eb1abd7cf37fa1 (patch) | |
tree | 9c313f6551335deb95dc8fe723a9335ced5b254e /src/mongo/s/catalog_cache_test_fixture.cpp | |
parent | 98f30b75b31c54464d5a907f435c15121a6c5353 (diff) | |
download | mongo-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.cpp | 2 |
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))); |