Skip to content

Commit 6b30c76

Browse files
author
Aaron Schlesinger
committed
fix(pkg/gitreceive/storage/bucket.go): make ACLPublicRead a BucketACL type
for it to be used as-is below in the MakeBucket call
1 parent f93b48e commit 6b30c76

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pkg/gitreceive/storage/bucket.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ const (
1111

1212
var (
1313
// ACLPublicRead default ACL for objects in the S3 API compatible storage
14-
ACLPublicRead = "public-read"
14+
ACLPublicRead = s3.BucketACL("public-read")
1515
)
1616

1717
// CreateBucket creates a new bucket in the S3 API compatible storage or

0 commit comments

Comments
 (0)