mirror of
https://github.com/elastic/logstash.git
synced 2025-04-25 07:07:54 -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
|
public
|
||||||
def register
|
def register
|
||||||
require "bunny" # rubygem 'bunny'
|
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)
|
@logger.info("Registering output", :plugin => self)
|
||||||
connect
|
connect
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue