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 <[email protected]>
  • Loading branch information
2 people authored and been-zino committed Jun 7, 2024
1 parent 83de09d commit f96d710
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 f96d710

Please sign in to comment.