Skip to content

Commit

Permalink
Filter is correct...
Browse files Browse the repository at this point in the history
Signed-off-by: Yuta Iwama <[email protected]>
  • Loading branch information
ganmacs committed Dec 27, 2019
1 parent 500b025 commit 60440d5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/fluent/static_config_analysis.rb
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ class StaticConfigAnalysis
module Elem
Input = Struct.new(:plugin, :config)
Output = Struct.new(:plugin, :config)
Format = Struct.new(:plugin, :config)
Filter = Struct.new(:plugin, :config)
Label = Struct.new(:name, :config, :nodes)
Worker = Struct.new(:ids, :config, :nodes)
end
Expand Down Expand Up @@ -162,7 +162,7 @@ def static_filter_and_output_analyse(conf)
end

if e.name == 'filter'
f = Elem::Format.new(Fluent::Plugin.new_filter(type), e)
f = Elem::Filter.new(Fluent::Plugin.new_filter(type), e)
ret << f
@filters << f
else
Expand Down

0 comments on commit 60440d5

Please sign in to comment.