xsos icon indicating copy to clipboard operation
xsos copied to clipboard

Make _parse_periphs() gawk case insensitive

Open ptalbert opened this issue 4 years ago • 2 comments

Some devices have an unexpected PCI class so the original XSOS_LSPCI_*_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 [email protected]

ptalbert avatar Jul 15 '20 09:07 ptalbert

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

ptalbert avatar Jul 15 '20 09:07 ptalbert

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?

superjamie avatar Mar 03 '21 01:03 superjamie