Skip to content

Commit a014a94

Browse files
committed
Forget to remove deprecated code
1 parent 8e901db commit a014a94

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

lib/fluent/plugin/filter_record_modifier.rb

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,6 @@ class Plugin::RecordModifierFilter < Plugin::Filter
3131
This option is exclusive with `remove_keys`.
3232
DESC
3333

34-
BUILTIN_CONFIGURATIONS = %W(type @type log_level @log_level id @id char_encoding remove_keys whitelist_keys prepare_value)
35-
3634
def configure(conf)
3735
super
3836

@@ -41,15 +39,6 @@ def configure(conf)
4139
end
4240

4341
@map = {}
44-
conf.each_pair { |k, v|
45-
unless BUILTIN_CONFIGURATIONS.include?(k)
46-
check_config_placeholders(k, v);
47-
conf.has_key?(k)
48-
$log.warn "top level definition is deprecated. Please put parameters inside <record>: '#{k} #{v}'"
49-
@map[k] = DynamicExpander.new(k, v)
50-
end
51-
}
52-
5342
@to_enc = nil
5443
if @char_encoding
5544
from, to = @char_encoding.split(':', 2)

0 commit comments

Comments
 (0)