Fix issue in amqp output when key not defined

This commit is contained in:
Nick Ethier 2011-08-18 14:07:14 -06:00
parent c77a0389bb
commit fb82eba958

View file

@ -30,7 +30,7 @@ class LogStash::Outputs::Amqp < LogStash::Outputs::Base
config :name, :validate => :string, :required => true
# Key to route to
config :key, :validate => :string
config :key, :validate => :string, :default => ""
# The vhost to use
config :vhost, :validate => :string, :default => "/"