Skip to content

Commit

Permalink
[devices.py]: Fix vlan intfs retrieval (#2839)
Browse files Browse the repository at this point in the history
Signed-off-by: Lawrence Lee <lawlee@microsoft.com>
  • Loading branch information
theasianpianist committed Jan 20, 2021
1 parent 9093023 commit cc3c651
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/common/devices.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit cc3c651

Please sign in to comment.