Browse Source

fix 0 size (#3683)

pull/3688/head
ImFantuan 2 years ago
committed by GitHub
parent
commit
b64411bda8
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      weed/s3api/filer_multipart.go

1
weed/s3api/filer_multipart.go

@ -147,6 +147,7 @@ func (s3a *S3ApiServer) completeMultipartUpload(input *s3.CompleteMultipartUploa
} else if mime != "" {
entry.Attributes.Mime = mime
}
entry.Attributes.FileSize = uint64(offset)
})
if err != nil {

Loading…
Cancel
Save