Skip to content

Commit fe6af60

Browse files
committed
RUBY-1935 Fix backport oversight
1 parent 8ad5ec8 commit fe6af60

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/mongo/database.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ def command(operation, opts = {})
166166
selector = ServerSelector.get(txn_read_pref)
167167

168168
client.send(:with_session, opts) do |session|
169-
server = selector.select_server(cluster, nil, session)
169+
server = selector.select_server(cluster)
170170
Operation::Command.new({
171171
:selector => operation.dup,
172172
:db_name => name,

0 commit comments

Comments
 (0)