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

Fix problem with inline fields in CRD structs #152

Merged
merged 1 commit into from
May 24, 2022

Conversation

swoehrl-mw
Copy link
Collaborator

@swoehrl-mw swoehrl-mw commented May 24, 2022

This PR fixes a problem mentioned in #116 and #134. JSON fields behind structs intended to be inlined were not unmarshalled correctly. To have Go inline a struct it must be referenced anonymously.

Signed-off-by: Sebastian Woehrl <sebastian.woehrl@maibornwolff.de>
Copy link
Collaborator

@idanl21 idanl21 left a comment

Choose a reason for hiding this comment

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

Thanks, important bug fix

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