2
0
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:
Jarrod Johnson 2021-04-07 08:40:18 -04:00
parent 7d0f47bbcb
commit 3d2422ded3

View File

@ -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: