fix lint warning

Signed-off-by: Nicola Murino <nicola.murino@gmail.com>
This commit is contained in:
Nicola Murino
2025-11-19 19:29:04 +01:00
parent 4230da8e7d
commit 9fa18c37f7
3 changed files with 5 additions and 7 deletions

View File

@@ -814,8 +814,7 @@ func (fs *S3Fs) downloadPart(ctx context.Context, name string, buf []byte, w io.
return err
}
_, err = writeAtFull(w, buf, writeOffset, int(count))
return err
return writeAtFull(w, buf, writeOffset, int(count))
}
func (fs *S3Fs) handleDownload(ctx context.Context, name string, offset int64, writer io.WriterAt, attrs *s3.HeadObjectOutput) error {