opentelemetry-collector icon indicating copy to clipboard operation
opentelemetry-collector copied to clipboard

[chore] [scrapererror] Remove nil check from IsPartialScrapeError

Open dmitryax opened this issue 1 year ago • 1 comments
trafficstars

Remove the nil check from IsPartialScrapeError as redundant, errors.As has the same condition

dmitryax avatar Feb 12 '24 22:02 dmitryax

Codecov Report

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

Comparison is base (1a57837) 90.40% compared to head (9f43363) 90.43%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #9555      +/-   ##
==========================================
+ Coverage   90.40%   90.43%   +0.03%     
==========================================
  Files         347      347              
  Lines       18195    18192       -3     
==========================================
+ Hits        16449    16452       +3     
+ Misses       1414     1410       -4     
+ Partials      332      330       -2     

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

codecov[bot] avatar Feb 12 '24 22:02 codecov[bot]