Skip to content

Conversation

@thaJeztah
Copy link
Member

  • remove pruneFilters.Contains for checks, as this is already handled by pruneFilters.ExactMatch.
  • Update GoDoc to better describe the function's functionality
  • Use a swtich instead of if/else.

This function should be moved to a separate package; possibly splitting it out to a "Merge" function that accepts two filter.Args as argument.

- Human readable description for the release notes

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

@thaJeztah thaJeztah added status/2-code-review kind/refactor PR's that refactor, or clean-up code labels Mar 21, 2025
@codecov-commenter
Copy link

codecov-commenter commented Mar 21, 2025

Codecov Report

Attention: Patch coverage is 0% with 11 lines in your changes missing coverage. Please review.

Project coverage is 59.45%. Comparing base (30cac75) to head (d97f65c).

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #5946      +/-   ##
==========================================
- Coverage   59.47%   59.45%   -0.02%     
==========================================
  Files         357      357              
  Lines       29744    29744              
==========================================
- Hits        17690    17685       -5     
- Misses      11090    11094       +4     
- Partials      964      965       +1     
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

- remove pruneFilters.Contains for checks, as this is already
  handled by pruneFilters.ExactMatch.
- Update GoDoc to better describe the function's functionality
- Use a swtich instead of if/else.

This function should be moved to a separate package; possibly splitting
it out to a "Merge" function that accepts two filter.Args as argument.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
@thaJeztah thaJeztah force-pushed the prunefilter_cleanup branch from 5a9ab71 to d97f65c Compare March 21, 2025 12:50
@thaJeztah thaJeztah requested a review from Benehiko April 4, 2025 15:37
@thaJeztah thaJeztah merged commit a2e1794 into docker:master Apr 4, 2025
87 checks passed
@thaJeztah thaJeztah deleted the prunefilter_cleanup branch April 4, 2025 16:19
@thaJeztah thaJeztah modified the milestones: 28.0.5, 28.1.0 Apr 7, 2025
@thaJeztah thaJeztah self-assigned this May 16, 2025
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.

3 participants