Compare commits
No commits in common. "ce80d1f3c27ac0f27a045725a4dd5b867214488e" and "e3b0d70f042d74732703c41c80b9cb0cada8e88a" have entirely different histories.
ce80d1f3c2
...
e3b0d70f04
|
@ -11,7 +11,7 @@ from utils.constants import ALGOS, CHASSIS_DH
|
|||
|
||||
|
||||
def get_network_cards(child, nets):
|
||||
if child['id'] == 'network' and "PCI:" in child.get("businfo"):
|
||||
if child['id'] == 'network':
|
||||
nets.append(child)
|
||||
if child.get('children'):
|
||||
[get_network_cards(x, nets) for x in child['children']]
|
||||
|
|
Loading…
Reference in a new issue