mirror of
https://github.com/xcat2/confluent.git
synced 2024-11-22 17:43:14 +00:00
Correct collective show behavior
This commit is contained in:
parent
bcff3fc962
commit
96671ace4e
@ -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']:
|
||||
|
Loading…
Reference in New Issue
Block a user