Skip to content

Commit

Permalink
fix: Changes GetBucketAcl xml response root element from GetBucketAcl…
Browse files Browse the repository at this point in the history
…Output to AccessControlPolicy
  • Loading branch information
niksis02 committed Dec 14, 2024
1 parent c17db86 commit 847993a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions auth/acl.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ package auth
import (
"context"
"encoding/json"
"encoding/xml"
"errors"
"fmt"
"strings"
Expand All @@ -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
}
Expand Down

0 comments on commit 847993a

Please sign in to comment.