From a9e0189e8d6e3660e026ec3da79bcceeaa96b327 Mon Sep 17 00:00:00 2001 From: Matthew Stidham Date: Tue, 25 Jan 2022 15:14:14 -0800 Subject: [PATCH] Revert "realm.wait_until_ports_disappear: endp_list needs a length greater than 0, not 1" This reverts commit 68fcf480818432a0926e8c7d1ccc621f52cfbb06. --- py-json/realm.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/py-json/realm.py b/py-json/realm.py index af9e1399..de02f564 100755 --- a/py-json/realm.py +++ b/py-json/realm.py @@ -400,7 +400,7 @@ 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']): - if len(endpoint) > 0: + if len(endpoint) > 1: found_endps.add(endpoint[0]) else: print(