Skip to content

Commit f82b0d7

Browse files
committed
Suppress warnings
Signed-off-by: Kenji Okimoto <okimoto@clear-code.com>
1 parent 03cc38e commit f82b0d7

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lib/fluent/plugin/grok.rb

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,9 @@ def initialize(plugin, conf)
3636
if @plugin.respond_to?(:keep_time_key)
3737
@keep_time_key = @plugin.keep_time_key
3838
end
39+
if @plugin.respond_to?(:time_format)
40+
@time_format = @plugin.time_format
41+
end
3942
end
4043

4144
def add_patterns_from_file(path)

0 commit comments

Comments
 (0)