Browse Source

fmt

pull/7481/head
chrislu 1 month ago
parent
commit
014079e870
  1. 2
      weed/s3api/filer_multipart.go

2
weed/s3api/filer_multipart.go

@ -257,7 +257,7 @@ func (s3a *S3ApiServer) completeMultipartUpload(r *http.Request, input *s3.Compl
// Changing the offset here would cause decryption to fail because CTR mode // Changing the offset here would cause decryption to fail because CTR mode
// uses the offset to initialize the counter. We must decrypt with the same // uses the offset to initialize the counter. We must decrypt with the same
// offset that was used during encryption. // offset that was used during encryption.
p := &filer_pb.FileChunk{ p := &filer_pb.FileChunk{
FileId: chunk.GetFileIdString(), FileId: chunk.GetFileIdString(),
Offset: offset, Offset: offset,

Loading…
Cancel
Save