mirror of
https://github.com/fluent/fluentd-ui.git
synced 2026-05-05 10:56:11 +02:00
Dump @type attribute of owned plugins
Signed-off-by: Kenji Okimoto <okimoto@clear-code.com>
This commit is contained in:
parent
215da19bda
commit
f1d32695a4
@ -44,6 +44,9 @@ class Fluentd
|
||||
end
|
||||
elements = []
|
||||
sections.to_h.each do |key, section_params|
|
||||
if %w(parse format buffer storage).include?(key)
|
||||
section_params["0"] = { "@type" => self.attributes["#{key}_type"] }.merge(section_params["0"])
|
||||
end
|
||||
next if section_params.blank?
|
||||
section_params.each do |index, _section_params|
|
||||
sub_attrs, sub_elements = parse_attributes(_section_params)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user