RedHatInsights / insights-core

Insights Core is a data collection and processing framework used by Red Hat Insights
https://cloud.redhat.com/insights
Apache License 2.0
153 stars 183 forks source link

fix: ParseException raising in parsers.scsi #4097

Closed JoySnow closed 6 months ago

JoySnow commented 6 months ago

All Pull Requests:

Check all that apply:

Complete Description of Additions/Changes:

for RHINENG-9677

Raise SkipComponent instead of ParseException for the empty content case.

count component request_id exception
53234 insights.specs.Specs.scsi some-request-id ParseException('Empty content of file /proc/scsi/scsi', [])
53234 insights.parsers.scsi.SCSI some-request-id ParseException('Empty content of file /proc/scsi/scsi', [])