fluent-plugin-amqp 0.8.0 → 0.8.1
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/fluent/plugin/in_amqp.rb +1 -1
- data/lib/fluent/plugin/out_amqp.rb +1 -1
- metadata +1 -1
@@ -141,7 +141,7 @@ module Fluent
|
|
141
141
|
end
|
142
142
|
|
143
143
|
def get_connection_options()
|
144
|
-
hosts = @hosts ||= Array.new(@host)
|
144
|
+
hosts = @hosts ||= Array.new(1, @host)
|
145
145
|
opts = {
|
146
146
|
:hosts => hosts, :port => @port, :vhost => @vhost,
|
147
147
|
:pass => @pass, :user => @user, :ssl => @ssl,
|
@@ -112,7 +112,7 @@ module Fluent
|
|
112
112
|
end
|
113
113
|
|
114
114
|
def get_connection_options()
|
115
|
-
hosts = @hosts ||= Array.new(@host)
|
115
|
+
hosts = @hosts ||= Array.new(1, @host)
|
116
116
|
opts = {
|
117
117
|
:hosts => hosts, :port => @port, :vhost => @vhost,
|
118
118
|
:pass => @pass, :user => @user, :ssl => @ssl,
|