mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2025-09-23 03:33:34 +08:00
ensure compatibility
This commit is contained in:
@@ -38,7 +38,9 @@ func (s3sink *S3Sink) createMultipartUpload(key string, entry *filer_pb.Entry) (
|
|||||||
Bucket: aws.String(s3sink.bucket),
|
Bucket: aws.String(s3sink.bucket),
|
||||||
Key: aws.String(key),
|
Key: aws.String(key),
|
||||||
ContentType: aws.String(entry.Attributes.Mime),
|
ContentType: aws.String(entry.Attributes.Mime),
|
||||||
ACL: aws.String(s3sink.acl),
|
}
|
||||||
|
if s3sink.acl != "" {
|
||||||
|
input.ACL = aws.String(s3sink.acl)
|
||||||
}
|
}
|
||||||
|
|
||||||
result, err := s3sink.conn.CreateMultipartUpload(input)
|
result, err := s3sink.conn.CreateMultipartUpload(input)
|
||||||
|
Reference in New Issue
Block a user