mirror of
https://github.com/fluent/fluentd-ui.git
synced 2025-08-16 19:27:05 +02:00
Append elements properly
Signed-off-by: Kenji Okimoto <okimoto@clear-code.com>
This commit is contained in:
parent
d1226e3d34
commit
a009222a2f
@ -70,9 +70,10 @@ class Fluentd
|
|||||||
}
|
}
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
elements = section_params.map do |index, _section_params|
|
_elements = section_params.map do |index, _section_params|
|
||||||
section_class.new(_section_params).to_config
|
section_class.new(_section_params).to_config
|
||||||
end.compact
|
end.compact
|
||||||
|
elements.concat(_elements)
|
||||||
end
|
end
|
||||||
params = params.to_h
|
params = params.to_h
|
||||||
if plugin_type == "filter" && plugin_name == "record_transformer"
|
if plugin_type == "filter" && plugin_name == "record_transformer"
|
||||||
|
Loading…
Reference in New Issue
Block a user