Skip to content

Commit ceed26f

Browse files
committed
fix naming since we use redis-rb v5.x
1 parent 1058419 commit ceed26f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/logstash/inputs/redis.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ def redis_params
142142
elsif !@sentinel_hosts.nil?
143143
hosts = @sentinel_hosts.map { |sentinel_host| { host: sentinel_host, port: @sentinel_port } }
144144
params = {
145-
:name => @sentinel_master_name,
145+
:host => @sentinel_master_name,
146146
:sentinels => hosts,
147147
:role => :master
148148
}

0 commit comments

Comments
 (0)