diff --git a/lib/mongo/util/uri_parser.rb b/lib/mongo/util/uri_parser.rb index 624be9c..0ed72c9 100644 --- a/lib/mongo/util/uri_parser.rb +++ b/lib/mongo/util/uri_parser.rb @@ -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'