Skip to content

Commit 153d8bb

Browse files
author
jojoliang
committed
update bucket acl
1 parent 5bc3407 commit 153d8bb

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)