mirror of
https://github.com/elastic/logstash.git
synced 2025-04-25 07:07:54 -04:00
Fix regression
This commit is contained in:
parent
f5e6e04960
commit
97f2816b7b
1 changed files with 5 additions and 1 deletions
|
@ -40,7 +40,11 @@ class LogStash::Filters::DNS < LogStash::Filters::Base
|
||||||
|
|
||||||
# Determine what action to do: append or replace the values in the fields
|
# Determine what action to do: append or replace the values in the fields
|
||||||
# specified under "reverse" and "resolve."
|
# specified under "reverse" and "resolve."
|
||||||
config :action, :validate => [ "append", "replace" ], :required => true
|
config :action, :validate => [ "append", "replace" ], :default => "append"
|
||||||
|
|
||||||
|
# TODO(sissel): make 'action' required? This was always the intent, but it
|
||||||
|
# due to a typo it was never enforced. Thus the default behavior in past
|
||||||
|
# versions was 'append' by accident.
|
||||||
|
|
||||||
public
|
public
|
||||||
def register
|
def register
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue