mirror of
https://github.com/xcat2/confluent.git
synced 2025-08-28 05:50:30 +00:00
Correct collective show behavior
This commit is contained in:
@@ -75,7 +75,7 @@ def show_collective():
|
||||
tlvdata.send(s, {'collective': {'operation': 'show'}})
|
||||
res = tlvdata.recv(s)
|
||||
if 'error' in res['collective']:
|
||||
print(res['error']['collective'])
|
||||
print(res['collective']['error'])
|
||||
return
|
||||
print('Leader: {0}'.format(res['collective']['leader']))
|
||||
if 'active' in res['collective']:
|
||||
|
Reference in New Issue
Block a user