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:
parent
9bcca6bfad
commit
a1ba5f59a8
@ -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 '
|
||||
|
Loading…
Reference in New Issue
Block a user