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

ListMeta is required in ObjectList wrongly #1491

Closed
aviramha opened this issue May 12, 2024 · 0 comments · Fixed by #1492
Closed

ListMeta is required in ObjectList wrongly #1491

aviramha opened this issue May 12, 2024 · 0 comments · Fixed by #1492
Labels
bug Something isn't working

Comments

@aviramha
Copy link
Contributor

Current and expected behavior

We have an API that returns ObjectList - k8s parses it correctly while when using kube rs we get deserialization error because metadata is missing.
I couldn't find where Go decides on it, but an example can be seen here with the +optional flag.

Possible solution

Deserialize using the default if NULL

Additional context

No response

Environment

irrelevant

Configuration and features

irrelevant

Affected crates

kube-core

Would you like to work on fixing this bug?

yes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant