mirror of
https://github.com/xcat2/confluent.git
synced 2024-11-21 17:11:58 +00:00
Do not get collective member when collective doesn't exist
This commit is contained in:
parent
22c464e092
commit
8b89232922
@ -642,7 +642,6 @@ def has_quorum():
|
||||
myrole = None
|
||||
if iam:
|
||||
myrole = iam.get('role', None)
|
||||
myrole = get_collective_member(get_myname()).get('role', None)
|
||||
if myrole != 'nonvoting':
|
||||
voters += 1
|
||||
allvoters = 0
|
||||
|
Loading…
Reference in New Issue
Block a user