mirror of
https://github.com/fluent/fluentd-ui.git
synced 2026-05-06 11:26:10 +02:00
Remove unused method
Signed-off-by: Kenji Okimoto <okimoto@clear-code.com>
This commit is contained in:
parent
db062ee391
commit
a6d27c0b14
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user