fix: make s3 PutBucketAcl have receiver pointer like others for consistency

This commit is contained in:
Ben McClelland
2023-12-23 09:26:56 -08:00
parent 6146dcff4a
commit c1587e4c1c

View File

@@ -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