RouteStatusGatewayReference.Controller should have an omitempty
JSON tag
#669
Labels
kind/bug
Categorizes issue or PR as related to a bug.
omitempty
JSON tag
#669
What happened:
Contour code that updates HTTPRoute status produces errors like the following:
What you expected to happen:
Since the
Controller
field is optional, it should be omitted from JSON serialization if not specified.How to reproduce it (as minimally and precisely as possible):
I can provide more detail on how to run the Contour E2E's locally to observe this error if that's actually useful for anyone.
Anything else we need to know?:
Happy to submit a PR, just need confirmation that this makes sense, and also whether to update this in v1alpha1, v1alpha2, or both.
The text was updated successfully, but these errors were encountered: