Skip to content

Commit 67598a7

Browse files
authored
Update redis.rb
* Change `redis_type` to `data_type` in the comments for `config :data_type` * Backslash-escaping of underscore is not required for Markdown text quoted in backticks
1 parent 1ec7353 commit 67598a7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lib/logstash/inputs/redis.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,9 @@ module LogStash module Inputs class Redis < LogStash::Inputs::Threadable
4848
# The name of a Redis list or channel.
4949
config :key, :validate => :string, :required => true
5050

51-
# Specify either list or channel. If `redis\_type` is `list`, then we will BLPOP the
52-
# key. If `redis\_type` is `channel`, then we will SUBSCRIBE to the key.
53-
# If `redis\_type` is `pattern_channel`, then we will PSUBSCRIBE to the key.
51+
# Specify either list or channel. If `data_type` is `list`, then we will BLPOP the
52+
# key. If `data_type` is `channel`, then we will SUBSCRIBE to the key.
53+
# If `data_type` is `pattern_channel`, then we will PSUBSCRIBE to the key.
5454
config :data_type, :validate => [ "list", "channel", "pattern_channel" ], :required => true
5555

5656
# The number of events to return from Redis using EVAL.

0 commit comments

Comments
 (0)