Skip to content

Fix JSON field name hints in APIVersion structs#3282

Merged
mandre merged 1 commit intogophercloud:mainfrom
pshchelo:apiversion-struct-typo
Feb 3, 2025
Merged

Fix JSON field name hints in APIVersion structs#3282
mandre merged 1 commit intogophercloud:mainfrom
pshchelo:apiversion-struct-typo

Conversation

@pshchelo
Copy link
Copy Markdown
Contributor

son:"status" is not a valid hint for JSON (de/en)coder.

There's no actual issue, everything works as expected - but only because no one ever needs to marshal those APIVersion structs back to JSON.

`son:"status"` is not a valid hint for JSON (de/en)coder.
@github-actions github-actions bot added edit:networking This PR updates networking code edit:loadbalancer This PR updates loadbalancer code semver:patch No API change labels Jan 15, 2025
Copy link
Copy Markdown

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for submitting your first PR! Be sure that we will be looking at it but keep in mind
this sometimes takes a while.
Please let the maintainers know if your PR has not got enough attention after a few days.
If any doubt, please consult our PR tutorial.

@EmilienM EmilienM added backport-v2 This PR will be backported to v2 backport-v1 This PR will be backported to v1 labels Jan 15, 2025
Copy link
Copy Markdown
Contributor

@EmilienM EmilienM left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks.
I've proposed the backports to v2 and v1 as they also have the typo.

@coveralls
Copy link
Copy Markdown

Coverage Status

coverage: 78.683%. remained the same
when pulling 83aae75 on pshchelo:apiversion-struct-typo
into 5770765 on gophercloud:main.

@mandre mandre merged commit e7b58a9 into gophercloud:main Feb 3, 2025
@pshchelo pshchelo deleted the apiversion-struct-typo branch March 24, 2025 00:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport-v1 This PR will be backported to v1 backport-v2 This PR will be backported to v2 edit:loadbalancer This PR updates loadbalancer code edit:networking This PR updates networking code semver:patch No API change

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants