Skip to content

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 ptalbert@redhat.com

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 <ptalbert@redhat.com>
@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