diff --git a/import/import.go b/import/import.go index dfc7cd8..e2e57c3 100644 --- a/import/import.go +++ b/import/import.go @@ -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 }