diff options
author | Kaloian Manassiev <kaloian.manassiev@mongodb.com> | 2017-07-24 15:16:48 -0400 |
---|---|---|
committer | Kaloian Manassiev <kaloian.manassiev@mongodb.com> | 2017-07-26 10:53:22 -0400 |
commit | 86defa9d193f34275af2c4f3c783dffb046182ff (patch) | |
tree | 1a57517f940cecc40d99030191a411d7f32283e7 /src/mongo/db/auth/user_cache_invalidator_job.cpp | |
parent | 8235ad20a6169b8713ffba991afcd50519e1345b (diff) | |
download | mongo-86defa9d193f34275af2c4f3c783dffb046182ff.tar.gz |
SERVER-28752 Get rid of BatchedInsertRequest::getIndexTargetingNS
In preparation for removing the Batched Insert/Update/Delete Request parser classes.
Diffstat (limited to 'src/mongo/db/auth/user_cache_invalidator_job.cpp')
-rw-r--r-- | src/mongo/db/auth/user_cache_invalidator_job.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/auth/user_cache_invalidator_job.cpp b/src/mongo/db/auth/user_cache_invalidator_job.cpp index 5c9b7c30d8c..81602d77a14 100644 --- a/src/mongo/db/auth/user_cache_invalidator_job.cpp +++ b/src/mongo/db/auth/user_cache_invalidator_job.cpp @@ -94,7 +94,7 @@ public: StatusWith<OID> getCurrentCacheGeneration(OperationContext* opCtx) { try { BSONObjBuilder result; - const bool ok = grid.catalogClient()->runUserManagementReadCommand( + const bool ok = Grid::get(opCtx)->catalogClient()->runUserManagementReadCommand( opCtx, "admin", BSON("_getUserCacheGeneration" << 1), &result); if (!ok) { return getStatusFromCommandResult(result.obj()); |