fix: always pass 0 to ReadBytes
This commit is contained in:
parent
ba60a6c729
commit
96713e3538
|
@ -232,7 +232,7 @@ func (i *ImportReader) Read(p []byte) (n int, err error) {
|
|||
// Update cumulative bytes read
|
||||
i.bytesRead += uint64(n)
|
||||
|
||||
err = i.ReadBytes(n)
|
||||
err = i.ReadBytes(0)
|
||||
if err != nil {
|
||||
return 0, err
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue