mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-12-24 03:06:48 +01: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_test.go | ||
lines_reader.go |