lib/bunny/session.rb in bunny-2.6.2 vs lib/bunny/session.rb in bunny-2.6.3

- old
+ new

@@ -207,10 +207,10 @@ if options[:hosts] && options[:addresses] raise ArgumentError, "Connection options can't contain hosts and addresses at the same time" end if (options[:host] || options[:hostname]) && (options[:hosts] || options[:addresses]) - @logger.warn "The connection options contain both a host and an array of hosts, the single host is ignored." + @logger.warn "Connection options contain both a host and an array of hosts (addresses), please pick one." end end # @return [String] RabbitMQ hostname (or IP address) used def hostname; self.host; end