diff options
Diffstat (limited to 'src/mongo/db/repl/bgsync.cpp')
-rw-r--r-- | src/mongo/db/repl/bgsync.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/repl/bgsync.cpp b/src/mongo/db/repl/bgsync.cpp index ac49485ede0..551cf74ac59 100644 --- a/src/mongo/db/repl/bgsync.cpp +++ b/src/mongo/db/repl/bgsync.cpp @@ -183,7 +183,7 @@ bool BackgroundSync::_inShutdown_inlock() const { void BackgroundSync::_run() { Client::initThread("rsBackgroundSync"); - AuthorizationSession::get(cc())->grantInternalAuthorization(); + AuthorizationSession::get(cc())->grantInternalAuthorization(&cc()); while (!inShutdown()) { try { |