From 847993a514d1111723511f1874d9e85258c88915 Mon Sep 17 00:00:00 2001 From: niksis02 Date: Sat, 14 Dec 2024 18:27:12 +0400 Subject: [PATCH] fix: Changes GetBucketAcl xml response root element from GetBucketAclOutput to AccessControlPolicy --- auth/acl.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/auth/acl.go b/auth/acl.go index fce890e3..45731b23 100644 --- a/auth/acl.go +++ b/auth/acl.go @@ -17,6 +17,7 @@ package auth import ( "context" "encoding/json" + "encoding/xml" "errors" "fmt" "strings" @@ -39,6 +40,7 @@ type Grantee struct { } type GetBucketAclOutput struct { + XMLName xml.Name `xml:"http://s3.amazonaws.com/doc/2006-03-01/ AccessControlPolicy"` Owner *types.Owner AccessControlList AccessControlList }