Skip to content

Conversation

andrii-korotkov
Copy link
Contributor

Helps with argoproj/argo-cd#23855

The namespace loop would be exited after the first namespace in all cases, which is wrong. The correct thing to do seems to only return false after all namespaces were checked and none resulted in true.

… first namespace regardless

Signed-off-by: Andrii Korotkov <myolymp@gmail.com>
@andrii-korotkov andrii-korotkov requested a review from a team as a code owner September 18, 2025 06:35
Copy link

Copy link

codecov bot commented Sep 18, 2025

Codecov Report

❌ Patch coverage is 0% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 47.39%. Comparing base (8849c3f) to head (60ff409).
⚠️ Report is 62 commits behind head on master.

Files with missing lines Patch % Lines
pkg/cache/cluster.go 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #784      +/-   ##
==========================================
- Coverage   54.26%   47.39%   -6.87%     
==========================================
  Files          64       64              
  Lines        6164     6589     +425     
==========================================
- Hits         3345     3123     -222     
- Misses       2549     3209     +660     
+ Partials      270      257      -13     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

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