mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-12-01 14:47:38 +00:00
f4252f87e6
ReadLinesBlock may accept dstBuf with non-zero length. In this case the last line without trailing newline isn't read. Fix this by comparing len(dstBuf) to 0 instead of its original length. |
||
---|---|---|
.. | ||
insert_ctx.go | ||
lines_reader.go | ||
lines_reader_test.go |