Skip to content

Refactor zero value utils - #127

Merged
k8s-ci-robot merged 2 commits into
kubernetes-sigs:mainfrom
JoelSpeed:refactor-zero-value-utils
Jul 22, 2025
Merged

Refactor zero value utils#127
k8s-ci-robot merged 2 commits into
kubernetes-sigs:mainfrom
JoelSpeed:refactor-zero-value-utils

Conversation

@JoelSpeed

Copy link
Copy Markdown
Contributor

This moves the IsZeroValueValid util from the optionalfields linter to the utils package and adds specific testing of the behaviour of the IsZeroValueValid utility. This is a pre-factor to allow the utils to be re-used in the requiredfields linter

@k8s-ci-robot
k8s-ci-robot requested review from jpbetz and sivchari July 18, 2025 14:11
@k8s-ci-robot k8s-ci-robot added cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. approved Indicates a PR has been approved by an approver from all required OWNERS files. size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. labels Jul 18, 2025

@everettraven everettraven left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Jul 22, 2025
@k8s-ci-robot

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: everettraven, JoelSpeed

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot
k8s-ci-robot merged commit cf6e504 into kubernetes-sigs:main Jul 22, 2025
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lgtm "Looks good to me", indicates that a PR is ready to be merged. size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants