mirror of
https://github.com/drakkan/sftpgo.git
synced 2025-12-08 23:28:39 +03:00
fix lint warning
Signed-off-by: Nicola Murino <nicola.murino@gmail.com>
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user