Skip to content

Add null check for ApiKeyPair in getUserByApiKey#12938

Merged
winterhazel merged 14 commits into
apache:mainfrom
daviftorres:getUserByApiKey-not-checking-for-null-pointers
May 19, 2026
Merged

Add null check for ApiKeyPair in getUserByApiKey#12938
winterhazel merged 14 commits into
apache:mainfrom
daviftorres:getUserByApiKey-not-checking-for-null-pointers

Merge branch 'main' into getUserByApiKey-not-checking-for-null-pointers

77b0d43
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded May 4, 2026 in 0s

18.08% (-0.01%) compared to 1e512ab, passed because coverage increased by 0% when compared to adjusted base (18.08%)

View this Pull Request on Codecov

18.08% (-0.01%) compared to 1e512ab, passed because coverage increased by 0% when compared to adjusted base (18.08%)

Details

Codecov Report

❌ Patch coverage is 0% with 2 lines in your changes missing coverage. Please review.
✅ Project coverage is 18.08%. Comparing base (1e512ab) to head (77b0d43).

Files with missing lines Patch % Lines
...c/main/java/com/cloud/user/AccountManagerImpl.java 0.00% 2 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##               main   #12938      +/-   ##
============================================
- Coverage     18.08%   18.08%   -0.01%     
+ Complexity    16706    16705       -1     
============================================
  Files          6037     6037              
  Lines        542437   542439       +2     
  Branches      66420    66421       +1     
============================================
  Hits          98088    98088              
- Misses       433333   433336       +3     
+ Partials      11016    11015       -1     

☔ 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.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.