From c1587e4c1c48bca270fc65995c1e12433b902a53 Mon Sep 17 00:00:00 2001 From: Ben McClelland Date: Sat, 23 Dec 2023 09:26:56 -0800 Subject: [PATCH] fix: make s3 PutBucketAcl have receiver pointer like others for consistency --- backend/s3proxy/s3.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/s3proxy/s3.go b/backend/s3proxy/s3.go index 634a554..8225193 100644 --- a/backend/s3proxy/s3.go +++ b/backend/s3proxy/s3.go @@ -361,7 +361,7 @@ func (s *S3Proxy) GetBucketAcl(ctx context.Context, input *s3.GetBucketAclInput) return json.Marshal(acl) } -func (s S3Proxy) PutBucketAcl(ctx context.Context, bucket string, data []byte) error { +func (s *S3Proxy) PutBucketAcl(ctx context.Context, bucket string, data []byte) error { acl, err := auth.ParseACL(data) if err != nil { return err