Skip to content

Commit

Permalink
add compatibility for plugins not in support matrix (elastic#12534)
Browse files Browse the repository at this point in the history
  • Loading branch information
kaisecheng authored Jan 25, 2022
1 parent 7bb56e4 commit 6a28ac1
Showing 1 changed file with 2 additions and 17 deletions.
19 changes: 2 additions & 17 deletions logstash-core/lib/logstash/pipeline.rb
Original file line number Diff line number Diff line change
Expand Up @@ -17,22 +17,7 @@

# for backward compatibility
# logstash-devutils-1.3.6 logstash_helpers has dependency on this class
require 'logstash/java_pipeline'
module LogStash
class Pipeline

# for backward compatibility in devutils for the logstash helpers, this method is not used
# in the pipeline anymore.
def initialize(pipeline_config, namespaced_metric = nil, agent = nil)
end
#
# for backward compatibility in devutils for the rspec helpers, this method is not used
# in the pipeline anymore.
def filter(event, &block)
end

# for backward compatibility in devutils for the rspec helpers, this method is not used
# in the pipeline anymore.
def flush_filters(options = {}, &block)
end
end
Pipeline = JavaPipeline
end

0 comments on commit 6a28ac1

Please sign in to comment.