mirror of
https://github.com/elastic/logstash.git
synced 2025-04-24 22:57:16 -04:00
config :validate handles this for us
This commit is contained in:
parent
ddd76f40bb
commit
c927675376
1 changed files with 0 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue