Skip to content

Commit

Permalink
Update lib/fluent/plugin/in_tail.rb
Browse files Browse the repository at this point in the history
Co-authored-by: Daijiro Fukuda <fukuda@clear-code.com>
Signed-off-by: been.zino <been.zino@kakaocorp.com>
  • Loading branch information
2 people authored and been-zino committed Jun 9, 2024
1 parent cffdfff commit 9e9947a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/fluent/plugin/in_tail.rb
Original file line number Diff line number Diff line change
Expand Up @@ -1075,7 +1075,7 @@ def read_lines(lines)
)

if is_long_line
@buffer = ''.force_encoding(@from_encoding)
@buffer.clear
@was_long_line = true
end
end
Expand Down

0 comments on commit 9e9947a

Please sign in to comment.