minor fix

This commit is contained in:
Kyle Banker 2011-10-17 14:49:44 -05:00
parent 8e02b4e9b4
commit 78dd5035d7
2 changed files with 1 additions and 2 deletions

View File

@ -543,7 +543,7 @@ module Mongo
else
raise Mongo::OperationFailure, "Failure to continue iterating " +
"cursor because the the replica set member persisting this " +
" cursor cannot be found."
"cursor at #{@read_pool.host_string} cannot be found."
end
end

View File

@ -65,7 +65,6 @@ module Mongo
warn "IOError when attempting to close socket connected to #{@host}:#{@port}: #{ex.inspect}"
end
end
@host = @port = nil
@sockets.clear
@pids.clear
@checked_out.clear