Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make _parse_periphs() gawk case insensitive #252

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ptalbert
Copy link
Collaborator

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]

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: ryran#10

Signed-off-by: Patrick Talbert <[email protected]>
@ptalbert
Copy link
Collaborator Author

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

@superjamie
Copy link
Collaborator

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

lspci reports 1 nic, but 3 nics available when looking at ip addr, ethtool
2 participants