mozilla-services / python-dockerflow

A Python package to implement tools and helpers for Mozilla Dockerflow
https://python-dockerflow.readthedocs.io
Mozilla Public License 2.0
38 stars 21 forks source link

Fix docs about heartbeat status on warnings (200, not 5XX) #99

Closed leplatrem closed 6 months ago

leplatrem commented 6 months ago

All implementation follow this logic:

if check_results.level < checks.ERROR:
        status_code = 200        
else:
        status_code = 500
codecov-commenter commented 6 months ago

Codecov Report

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

Project coverage is 97.97%. Comparing base (2ba0254) to head (f670e83).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #99 +/- ## ======================================= Coverage 97.97% 97.97% ======================================= Files 22 22 Lines 692 692 Branches 92 92 ======================================= Hits 678 678 Misses 8 8 Partials 6 6 ```

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