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

Make all status.conditions fields optional and annotated with omitempty #2684

Merged
merged 1 commit into from
Jul 13, 2023

Conversation

kieron-dev
Copy link
Contributor

Is there a related GitHub Issue?

#2580

What is this change about?

Ensure all status.conditions fields are optional and decorated with omitempty.

This means we no longer have to initialize them to empty slices before making non-related status changes (mainly in tests). All instances of this have been removed.

Does this PR introduce a breaking change?

No

Acceptance Steps

Tag your pair, your PM, and/or team

@gcapizzi

This means we no longer have to initialize them to empty slices before
making non-related status changes (mainly in tests). All instances of
this have been removed.

Issue: #2580
Co-authored-by: Kieron Browne <[email protected]>
@kieron-dev kieron-dev enabled auto-merge (rebase) July 13, 2023 15:57
@kieron-dev kieron-dev merged commit 1c6a207 into main Jul 13, 2023
6 checks passed
@kieron-dev kieron-dev deleted the issues/2580-optional-status-fields branch July 13, 2023 15:57
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.

2 participants