Remove unused method

Signed-off-by: Kenji Okimoto <okimoto@clear-code.com>
This commit is contained in:
Kenji Okimoto 2018-06-08 13:43:10 +09:00
parent db062ee391
commit a6d27c0b14
No known key found for this signature in database
GPG Key ID: F9E3E329A5C5E4A1

View File

@ -98,24 +98,6 @@ class Fluentd
grok
end
end
def to_conf
# NOTE: Using strip_heredoc makes more complex for format_specific_conf indent
<<-CONFIG.gsub(/^[ ]*\n/m, "")
<source>
@type tail
path #{path}
tag #{tag}
#{certain_format_line}
#{format_specific_conf}
#{read_from_head.to_i.zero? ? "" : "read_from_head true"}
#{pos_file.present? ? "pos_file #{pos_file}" : ""}
#{rotate_wait.present? ? "rotate_wait #{rotate_wait}" : ""}
#{refresh_interval.present? ? "refresh_interval #{refresh_interval}" : ""}
</source>
CONFIG
end
end
end
end