2
0
mirror of https://github.com/xcat2/confluent.git synced 2024-11-26 11:30:23 +00:00

Fix collective show on non-collective

This commit is contained in:
Jarrod Johnson 2018-07-19 17:21:01 -04:00
parent 9bcca6bfad
commit a1ba5f59a8

View File

@ -178,7 +178,7 @@ def handle_connection(connection, cert, request, local=False):
return
if 'show' == operation:
if list(cfm.list_collective()) == 0:
if not list(cfm.list_collective()):
tlvdata.send(connection,
{'collective': {'error': 'Collective mode not '
'enabled on this '