Avoid unsupported type error

Signed-off-by: Kenji Okimoto <okimoto@clear-code.com>
This commit is contained in:
Kenji Okimoto 2018-06-07 16:47:15 +09:00
parent 89296a331d
commit 421cbdd1af

View File

@ -51,6 +51,8 @@ class Fluentd
def reformat_value(name, value)
type = column_type(name)
return value if type == :enum
return value if type == :regexp
type_name = if type.is_a?(Fluentd::Setting::Type::Time)
:time
else