lib/fluent/plugin_helper/extract.rb in fluentd-1.8.0.rc1 vs lib/fluent/plugin_helper/extract.rb in fluentd-1.8.0.rc2
- old
+ new
@@ -53,10 +53,10 @@
# To avoid defining :time_type twice
config_param :time_type, :enum, list: [:float, :unixtime, :string], default: :float
Fluent::TimeMixin::TIME_PARAMETERS.each do |name, type, opts|
- config_param name, type, opts
+ config_param(name, type, **opts)
end
end
end
def self.included(mod)