RUBY-378 minor fix to warning

This commit is contained in:
Tyler Brock 2012-02-16 13:02:51 -05:00
parent 542b8f46da
commit 098c750529
1 changed files with 1 additions and 1 deletions

View File

@ -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|