Merge pull request #461 from electrical/fix_validation

Fix validation so they will work.
This commit is contained in:
Jordan Sissel 2013-04-28 08:10:48 -07:00
commit 165f9d72c1
2 changed files with 2 additions and 2 deletions

View file

@ -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

View file

@ -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