mirror of
https://github.com/elastic/logstash.git
synced 2025-04-24 14:47:19 -04:00
Merge pull request #461 from electrical/fix_validation
Fix validation so they will work.
This commit is contained in:
commit
165f9d72c1
2 changed files with 2 additions and 2 deletions
|
@ -43,7 +43,7 @@ class LogStash::Inputs::Generator < LogStash::Inputs::Threadable
|
|||
# Set how many messages should be generated.
|
||||
#
|
||||
# The default, 0, means generate an unlimited number of events.
|
||||
config :count, :validate => :integer, :default => 0
|
||||
config :count, :validate => :number, :default => 0
|
||||
|
||||
public
|
||||
def register
|
||||
|
|
|
@ -51,7 +51,7 @@ class LogStash::Outputs::Boundary < LogStash::Outputs::Base
|
|||
# of the event. Any field explicitly set by config options will
|
||||
# override these.
|
||||
# ['type', 'subtype', 'creation_time', 'end_time', 'links', 'tags', 'loc']
|
||||
config :auto, :validate => :bool, :default => false
|
||||
config :auto, :validate => :boolean, :default => false
|
||||
|
||||
public
|
||||
def register
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue