Remove unnecessary if-else branch in template permission validation #12683
+3
−6
Codecov / codecov/project
succeeded
Apr 7, 2026 in 0s
18.00% (+0.08%) compared to 30e6c22
View this Pull Request on Codecov
18.00% (+0.08%) compared to 30e6c22
Details
Codecov Report
❌ Patch coverage is 0% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 18.00%. Comparing base (30e6c22) to head (fe7fc5a).
| Files with missing lines | Patch % | Lines |
|---|---|---|
| ...ain/java/com/cloud/api/query/QueryManagerImpl.java | 0.00% | 1 Missing |
Additional details and impacted files
@@ Coverage Diff @@
## main #12683 +/- ##
============================================
+ Coverage 17.92% 18.00% +0.08%
- Complexity 16154 16465 +311
============================================
Files 5939 5977 +38
Lines 533181 537728 +4547
Branches 65237 66025 +788
============================================
+ Hits 95585 96840 +1255
- Misses 426856 429968 +3112
- Partials 10740 10920 +180 ☔ 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.
Loading