Browse Source

rm dublicate SeaweedFSExpiresS3

pull/7426/head
Konstantin Lebedev 4 weeks ago
parent
commit
c18004f9f6
  1. 2
      weed/s3api/filer_multipart.go

2
weed/s3api/filer_multipart.go

@ -56,8 +56,6 @@ func (s3a *S3ApiServer) createMultipartUpload(r *http.Request, input *s3.CreateM
entry.Extended = make(map[string][]byte)
}
entry.Extended[s3_constants.ExtMultipartObjectKey] = []byte(*input.Key)
// Set TTL-based S3 expiry (modification time)
entry.Extended[s3_constants.SeaweedFSExpiresS3] = []byte("true")
// Set object owner for multipart upload
amzAccountId := r.Header.Get(s3_constants.AmzAccountId)
if amzAccountId != "" {

Loading…
Cancel
Save