-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: ListObjectPoliciesResponse unmarshal failed #213
Conversation
@@ -1339,7 +1339,7 @@ func (c *Client) ListObjectPolicies(ctx context.Context, objectName, bucketName | |||
|
|||
policies := types.ListObjectPoliciesResponse{} | |||
bufStr := buf.String() | |||
err = xml.Unmarshal([]byte(bufStr), &policies.Policies) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please also add more details in the function doc for actionType parameters
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
added
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please also add an e2e test on this API.
Please submit to master |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
736fe1b
to
5ddce4e
Compare
5ddce4e
to
452b913
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Description
fix ListObjectPoliciesResponse unmarshal failed bug
Rationale
Example
N/A
Changes
Notable changes: