Skip to content

Commit 67bae75

Browse files
authored
Merge pull request #235 from tencentyun/feature_jojoliang_d970a3d5
add ACL enum demo
2 parents 40f4c02 + c32d6a4 commit 67bae75

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)