mirror of
https://github.com/xcat2/confluent.git
synced 2025-01-14 19:57:50 +00:00
Coerce iterator to list for length check
This commit is contained in:
parent
7d0f47bbcb
commit
3d2422ded3
@ -269,7 +269,7 @@ def run(args):
|
||||
pass
|
||||
webservice = httpapi.HttpApi(http_bind_host, http_bind_port)
|
||||
webservice.start()
|
||||
while len(configmanager.list_collective()) >= 2:
|
||||
while len(list(configmanager.list_collective())) >= 2:
|
||||
# If in a collective, stall automatic startup activity
|
||||
# until we establish quorum
|
||||
try:
|
||||
|
Loading…
x
Reference in New Issue
Block a user