mirror of
https://github.com/fluent/fluentd-ui.git
synced 2025-08-16 11:17:05 +02:00
Remove parse_type like attributes from owner plugin configuration
Signed-off-by: Kenji Okimoto <okimoto@clear-code.com>
This commit is contained in:
parent
2f2b388d57
commit
215da19bda
@ -20,7 +20,10 @@ class Fluentd
|
||||
when "storage"
|
||||
"storage"
|
||||
end
|
||||
_attributes = { "@type" => self.plugin_name }.merge(attributes)
|
||||
_attributes = attributes.reject do |key, value|
|
||||
%w(parse_type format_type buffer_type storage_type).include?(key.to_s)
|
||||
end
|
||||
_attributes = { "@type" => self.plugin_name }.merge(_attributes)
|
||||
_attributes["@log_level"] = _attributes.delete("log_level")
|
||||
argument = case plugin_type
|
||||
when "output", "filter", "buffer"
|
||||
|
Loading…
Reference in New Issue
Block a user