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

View File

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