Skip to content

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

Codecov / codecov/project succeeded Nov 27, 2024 in 0s

58.49% (target 0.00%)

View this Pull Request on Codecov

58.49% (target 0.00%)

Details

Codecov Report

Attention: Patch coverage is 82.35294% with 39 lines in your changes missing coverage. Please review.

Project coverage is 58.49%. Comparing base (2ab93f7) to head (eec4b5d).

Files with missing lines Patch % Lines
pkg/database/alertfilter.go 86.53% 20 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   58.43%   58.49%   +0.05%     
==========================================
  Files         351      352       +1     
  Lines       37827    37805      -22     
==========================================
+ Hits        22106    22113       +7     
+ Misses      13817    13789      -28     
+ Partials     1904     1903       -1     

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