mirror of
https://github.com/fluent/fluentd-ui.git
synced 2025-08-16 03:07:06 +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
|
||||
elements = section_params.map do |index, _section_params|
|
||||
_elements = section_params.map do |index, _section_params|
|
||||
section_class.new(_section_params).to_config
|
||||
end.compact
|
||||
elements.concat(_elements)
|
||||
end
|
||||
params = params.to_h
|
||||
if plugin_type == "filter" && plugin_name == "record_transformer"
|
||||
|
Loading…
Reference in New Issue
Block a user