Skip to content

Commit 3da49b9

Browse files
TylerBrockBrandon Black
authored andcommitted
Merge pull request #112 from solisoft/master
[urgent] Fix for authenticate_pools and logout_pools
1 parent f80ad17 commit 3da49b9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/mongo/repl_set_connection.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -306,11 +306,11 @@ def slave_ok?
306306
end
307307

308308
def authenticate_pools
309-
pools.each { |pool| pool.authenticate_existing }
309+
@manager.pools.each { |pool| pool.authenticate_existing }
310310
end
311311

312312
def logout_pools(db)
313-
pools.each { |pool| pool.logout_existing(db) }
313+
@manager.pools.each { |pool| pool.logout_existing(db) }
314314
end
315315

316316
# Generic socket checkout

0 commit comments

Comments
 (0)