mirror of
https://github.com/Telecominfraproject/wlan-lanforge-scripts.git
synced 2025-11-21 20:45:06 +00:00
Revert "realm.wait_until_ports_disappear: endp_list needs a length greater than 0, not 1"
This reverts commit 68fcf480818432a0926e8c7d1ccc621f52cfbb06.
This commit is contained in:
@@ -400,7 +400,7 @@ class Realm(LFCliBase):
|
|||||||
if endp_list and ("items" not in endp_list):
|
if endp_list and ("items" not in endp_list):
|
||||||
if 'endpoint' in endp_list.keys():
|
if 'endpoint' in endp_list.keys():
|
||||||
for endpoint in list(endp_list['endpoint']):
|
for endpoint in list(endp_list['endpoint']):
|
||||||
if len(endpoint) > 0:
|
if len(endpoint) > 1:
|
||||||
found_endps.add(endpoint[0])
|
found_endps.add(endpoint[0])
|
||||||
else:
|
else:
|
||||||
print(
|
print(
|
||||||
|
|||||||
Reference in New Issue
Block a user