minor: removed redundant code from uri_parser configure connect method

This commit is contained in:
Tyler Brock 2012-01-29 19:38:41 -05:00
parent 90e35d3137
commit 6ae5dbd37c

View File

@ -215,10 +215,6 @@ module Mongo
end
def configure_connect
if @nodes.length > 1 && !@connect
@connect = 'replicaset'
end
if !@connect
if @nodes.length > 1
@connect = 'replicaset'