DSD-DBS / capella-collab-manager

A web app for collaboration on Capella (MBSE) projects
https://dsd-dbs.github.io/capella-collab-manager/
Apache License 2.0
23 stars 5 forks source link

fix: Tolerate Pods without labels in metrics #1660

Closed MoritzWeber0 closed 3 months ago

MoritzWeber0 commented 3 months ago

Some Pods may not have labels, for example the Pods created by our CLI during the restore process.

The deployed sessions collector should not fail when it hits such a Pod. Instead, it should just ignore it.

sonarcloud[bot] commented 3 months ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarCloud

codecov[bot] commented 3 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 80.65%. Comparing base (92041c3) to head (9bc2bbb). Report is 306 commits behind head on main.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #1660 +/- ## ========================================== + Coverage 80.64% 80.65% +0.01% ========================================== Files 185 185 Lines 6090 6095 +5 Branches 678 679 +1 ========================================== + Hits 4911 4916 +5 Misses 1030 1030 Partials 149 149 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.