Skip to content
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

Match existing format in minio-go when listing with metadata #16906

Closed
wants to merge 4 commits into from

Conversation

klauspost
Copy link
Contributor

@klauspost klauspost commented Mar 28, 2023

Description

Allow seamless parsing when sending data to minio-go.

Seems there is already unmarshal code in minio-go objects - match the format of that instead.

Regression caused by #16883 - sorry.

How to test this PR?

Must be part of mc listings.

Types of changes

  • Bug fix (non-breaking change which fixes an issue)

Allow seamless parsing when sending data to minio-go.
@klauspost klauspost marked this pull request as draft March 28, 2023 10:09
@vadmeste
Copy link
Member

Regression caused by #16883 - sorry.

What regression ? #16883 seems to be fine

@klauspost klauspost marked this pull request as ready for review March 30, 2023 14:30
@klauspost
Copy link
Contributor Author

@vadmeste It doesn't match minio-go which has UserTags map[string]string json:"userTags"`.

It does however require some further tweaking: minio/minio-go#1795

Tags would not be marshaled correctly due to xml library fork.

Add small package to handle this.
@klauspost
Copy link
Contributor Author

Dropping for simpler change.

@klauspost klauspost closed this Mar 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants