mirror of
https://github.com/Telecominfraproject/wlan-lanforge-scripts.git
synced 2026-03-20 03:41:40 +00:00
realm.wait_until_endps_appear: check to make sure there is a port in the endpoints list
Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
This commit is contained in:
@@ -400,7 +400,8 @@ class Realm(LFCliBase):
|
||||
if endp_list and ("items" not in endp_list):
|
||||
if 'endpoint' in endp_list.keys():
|
||||
for endpoint in list(endp_list['endpoint']):
|
||||
found_endps.add(endpoint[0])
|
||||
if len(endpoint) > 1:
|
||||
found_endps.add(endpoint[0])
|
||||
else:
|
||||
print(
|
||||
"non-fatal exception endp_list = list(endp_list['endpoint'] did not exist, will wait some more")
|
||||
|
||||
Reference in New Issue
Block a user