Skip to content

Commit 8c64e00

Browse files
authored
Merge pull request #206 from tencentyun/feature_jojoliang_40830075
update bucket acl
2 parents e0c6d6d + 153d8bb commit 8c64e00

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

bucket_acl.go

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,6 @@ type BucketPutACLOptions struct {
5050
func (s *BucketService) PutACL(ctx context.Context, opt *BucketPutACLOptions) (*Response, error) {
5151
header := opt.Header
5252
body := opt.Body
53-
if body != nil {
54-
header = nil
55-
}
5653
sendOpt := sendOptions{
5754
baseURL: s.client.BaseURL.BucketURL,
5855
uri: "/?acl",

0 commit comments

Comments
 (0)