mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-10-24 23:10:41 +02:00
test s3 put
This commit is contained in:
1 parent
e8e080b4fa
commit
1abea0d9b5
3 files changed
+21
-8
No files matched your search
@@ -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")
|
||||
}
|
||||
})
|
||||
|
||||
Reference in new issue
Block a user