We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
It seems like the following field should probably omitempty, so that json.Unmarshal of an empty LimitRange doesn't zero out non-empty Limits.
omitempty
json.Unmarshal
LimitRange
Limits
api/core/v1/types.go
Line 7010 in 71385f0
Is there any reason this is not omitempty? If not, does it make sense to open a PR to change this?
The text was updated successfully, but these errors were encountered:
The Kubernetes project currently lacks enough contributors to adequately respond to all issues.
This bot triages un-triaged issues according to the following rules:
lifecycle/stale
lifecycle/rotten
You can:
/remove-lifecycle stale
/close
Please send feedback to sig-contributor-experience at kubernetes/community.
/lifecycle stale
Sorry, something went wrong.
No branches or pull requests
It seems like the following field should probably
omitempty
, so thatjson.Unmarshal
of an emptyLimitRange
doesn't zero out non-emptyLimits
.api/core/v1/types.go
Line 7010 in 71385f0
Is there any reason this is not
omitempty
? If not, does it make sense to open a PR to change this?The text was updated successfully, but these errors were encountered: