Skip to content

Commit c32d6a4

Browse files
author
jojoliang
committed
add ACL enum demo
1 parent 543e658 commit c32d6a4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

example/object/putACL.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ func main() {
4949

5050
opt := &cos.ObjectPutACLOptions{
5151
Header: &cos.ACLHeaderOptions{
52-
XCosACL: "private",
52+
XCosACL: cos.ACL.Private,
5353
},
5454
}
5555
name := "test/hello.txt"

0 commit comments

Comments
 (0)