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.
@@ -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,
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fluent-plugin-amqp
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.0
4
+ version: 0.8.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: