test s3 put

This commit is contained in:
Konstantin Lebedev committed 2025-11-04 20:03:36 +05:00
1 parent e8e080b4fa
commit 1abea0d9b5
3 files changed
+21 -8

No files matched your search

+1 -1
View File
@@ -468,7 +468,7 @@ func (s3a *S3ApiServer) completeMultipartUpload(r *http.Request, input *s3.Compl
entry.Attributes.Mime = mime
}
entry.Attributes.FileSize = uint64(offset)
if s3a.option.AllowDeleteObjectsByTTL && entry.Attributes.TtlSec > 0 {
if s3a.option.AllowDeleteObjectsByTTL {
entry.Extended[s3_constants.SeaweedFSExpiresS3] = []byte("true")
}
})