rm dublicate SeaweedFSExpiresS3

This commit is contained in:
Konstantin Lebedev
2025-11-05 14:16:07 +05:00
parent 20254cd2db
commit c18004f9f6
-2
View File
@@ -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 != "" {