Skip to content

chore: omitempty->omitzero#15580

Open
Joibel wants to merge 1 commit intoargoproj:mainfrom
Joibel:omitzero
Open

chore: omitempty->omitzero#15580
Joibel wants to merge 1 commit intoargoproj:mainfrom
Joibel:omitzero

Conversation

@Joibel
Copy link
Member

@Joibel Joibel commented Feb 17, 2026

Motivation

modernize linter complains that these fields don't actually implement omitempty correctly but can't upgrade them itself due to possible conflicting outcomes of not having omitempty at all or use omitzero

This is just a case of silencing the comments from the linter.

Modifications

omitzero should be safe for all these cases as they are just used for reading not writing.

Verification

CI to verify

Documentation

None required

Signed-off-by: Alan Clucas <alan@clucas.org>
@Joibel Joibel enabled auto-merge (squash) February 17, 2026 14:06
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.

1 participant