ryran / xsos

sosreport examiner - instantly summarize system info from a sosreport or a running system
337 stars 121 forks source link

Make _parse_periphs() gawk case insensitive #252

Open ptalbert opened 4 years ago

ptalbert commented 4 years ago

Some devices have an unexpected PCI class so the original XSOSLSPCI*_REGEX will miss them.

We relax the pattern matching by making it case insensitive and removing the colon.

Fixes: #10

Signed-off-by: Patrick Talbert ptalbert@redhat.com

ptalbert commented 4 years ago

If this is taken then for consistency's sake we should also remove the colon from the other XSOSLSPCI*_REGEX definitions.

superjamie commented 3 years ago

This doesn't break anything in my tests against VM sosreports, so looks good to me.

Did you want to push the same change to the STORAGE regex before merging this?