Skip to content

refact pkg/database: extract function rollbackOnError(); dry error me…

Codecov / codecov/project succeeded Oct 10, 2024 in 1s

39.21% (+0.00%) compared to 4ea0537

View this Pull Request on Codecov

39.21% (+0.00%) compared to 4ea0537

Details

Codecov Report

Attention: Patch coverage is 74.66063% with 56 lines in your changes missing coverage. Please review.

Project coverage is 39.21%. Comparing base (4ea0537) to head (520a518).

Files with missing lines Patch % Lines
pkg/database/alertfilter.go 78.36% 37 Missing and 8 partials ⚠️
pkg/database/alerts.go 0.00% 10 Missing ⚠️
pkg/types/ip.go 66.66% 1 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##           master    #3263   +/-   ##
=======================================
  Coverage   39.20%   39.21%           
=======================================
  Files         480      481    +1     
  Lines       62061    62039   -22     
=======================================
- Hits        24334    24330    -4     
+ Misses      35082    35062   -20     
- Partials     2645     2647    +2     

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