Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
config :validate handles this for us
  • Loading branch information
fetep authored and lusis committed Jan 10, 2012
1 parent 07b9696 commit d6d4d96
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions lib/logstash/outputs/amqp.rb
Expand Up @@ -54,9 +54,6 @@ class LogStash::Outputs::Amqp < LogStash::Outputs::Base
public
def register
require "bunny" # rubygem 'bunny'
if !MQTYPES.include?(@exchange_type)
raise "Invalid exchange_type, #{@exchange_type.inspect}, must be one of #{MQTYPES.join(", ")}"
end

@logger.info("Registering output", :plugin => self)
connect
Expand Down

0 comments on commit d6d4d96

Please sign in to comment.