lib/fluent/plugin/in_tail.rb in fluentd-0.10.39 vs lib/fluent/plugin/in_tail.rb in fluentd-0.10.40
- old
+ new
@@ -356,10 +356,9 @@
def initialize(path, &on_rotate)
@path = path
@inode = nil
@fsize = -1 # first
@on_rotate = on_rotate
- @path = path
end
def on_notify
begin
io = File.open(@path)