From 60440d5fe931e3964b4bf9c05bb8ea8a70cfee75 Mon Sep 17 00:00:00 2001 From: Yuta Iwama Date: Fri, 27 Dec 2019 11:29:02 +0900 Subject: [PATCH] Filter is correct... Signed-off-by: Yuta Iwama --- lib/fluent/static_config_analysis.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/fluent/static_config_analysis.rb b/lib/fluent/static_config_analysis.rb index 0c2b373cf0..5aabdba970 100644 --- a/lib/fluent/static_config_analysis.rb +++ b/lib/fluent/static_config_analysis.rb @@ -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 @@ -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