Skip to content

Commit 0a8b280

Browse files
committed
Merge remote-tracking branch 'origin/disk-buffering-api-implementation' into disk-buffering-api-implementation
2 parents 4e48340 + 6180197 commit 0a8b280

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

disk-buffering/src/main/java/io/opentelemetry/contrib/disk/buffering/internal/storage/files/reader/DelimitedProtoStreamReader.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ public byte[] readNext() throws IOException {
2525
return null;
2626
}
2727
byte[] bytes = new byte[itemSize];
28-
if (inputStream.read(bytes) < 0) {
28+
if (inputStream.read(bytes) <= 0) {
2929
return null;
3030
}
3131
return bytes;

0 commit comments

Comments
 (0)