diff --git a/tests/common/devices.py b/tests/common/devices.py index 0ca797952d..ebd1d2c661 100644 --- a/tests/common/devices.py +++ b/tests/common/devices.py @@ -1155,7 +1155,7 @@ def get_vlan_intfs(self): for intf in vlan_members_facts[vlan]: vlan_intfs.append(intf) - return list(vlan_intfs, key=lambda intf: int(intf.replace('Ethernet', ''))) + return vlan_intfs class K8sMasterHost(AnsibleHostBase):