mirror of
https://github.com/fluent/fluentd-ui.git
synced 2026-05-05 19:06:12 +02:00
Set types
Signed-off-by: Kenji Okimoto <okimoto@clear-code.com>
This commit is contained in:
parent
dda93e98cd
commit
2aae26f261
@ -26,8 +26,10 @@ class Fluentd
|
||||
end
|
||||
end
|
||||
attribute(:type, :string)
|
||||
self._types[:type] = :string
|
||||
self._dumped_config.values.map(&:keys).flatten.uniq.each do |name|
|
||||
attribute(name, :object)
|
||||
self._types[name] = :object
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user