Skip to content

cli/command/image: getPossibleChips: simplify#6873

Open
thaJeztah wants to merge 1 commit intodocker:masterfrom
thaJeztah:simplify_chips
Open

cli/command/image: getPossibleChips: simplify#6873
thaJeztah wants to merge 1 commit intodocker:masterfrom
thaJeztah:simplify_chips

Conversation

@thaJeztah
Copy link
Member

Extract the check to a closure that filters in-place, and run the check in a single loop.

- What I did

- How I did it

- How to verify it

- Human readable description for the release notes

- A picture of a cute animal (not mandatory but encouraged)

Extract the check to a closure that filters in-place, and
run the check in a single loop.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
@thaJeztah thaJeztah added this to the 29.3.1 milestone Mar 20, 2026
@thaJeztah thaJeztah added status/2-code-review kind/refactor PR's that refactor, or clean-up code labels Mar 20, 2026
@codecov-commenter
Copy link

Codecov Report

❌ Patch coverage is 87.50000% with 2 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
cli/command/image/tree.go 87.50% 1 Missing and 1 partial ⚠️

📢 Thoughts on this report? Let us know!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

kind/refactor PR's that refactor, or clean-up code status/2-code-review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants