RUBY-378 minor fix to warning
This commit is contained in:
parent
542b8f46da
commit
098c750529
|
@ -94,7 +94,7 @@ module Mongo
|
||||||
@seeds = []
|
@seeds = []
|
||||||
if args.first.last.is_a?(Integer)
|
if args.first.last.is_a?(Integer)
|
||||||
warn "Initiating a ReplSetConnection with seeds passed as individual [host, port] array arguments is deprecated."
|
warn "Initiating a ReplSetConnection with seeds passed as individual [host, port] array arguments is deprecated."
|
||||||
warn "Please specify hosts as 'host:port' strings; the old format will be removed in v2.0"
|
warn "Please specify hosts as an array of 'host:port' strings; the old format will be removed in v2.0"
|
||||||
@seeds = args
|
@seeds = args
|
||||||
else
|
else
|
||||||
args.first.map do |host_port|
|
args.first.map do |host_port|
|
||||||
|
|
Loading…
Reference in New Issue