Skip to content

chore(refactor): less nesting #400

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 8, 2025

Conversation

crenshaw-dev
Copy link
Contributor

Switched to short-circuiting rather than deeply-nested conditionals.

Signed-off-by: Michael Crenshaw <[email protected]>
@codecov-commenter
Copy link

Codecov Report

Attention: Patch coverage is 95.83333% with 2 lines in your changes missing coverage. Please review.

Project coverage is 48.41%. Comparing base (fa047bf) to head (cb03fab).

✅ All tests successful. No failed tests found.

Files with missing lines Patch % Lines
...rnal/controller/changetransferpolicy_controller.go 95.83% 1 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #400      +/-   ##
==========================================
- Coverage   48.47%   48.41%   -0.07%     
==========================================
  Files          33       33              
  Lines        3342     3338       -4     
==========================================
- Hits         1620     1616       -4     
+ Misses       1517     1515       -2     
- Partials      205      207       +2     

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

@zachaller zachaller merged commit 1e2a26a into argoproj-labs:main Jul 8, 2025
7 checks passed
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.

3 participants