mirror of
https://github.com/xcat2/confluent.git
synced 2026-01-11 02:22:31 +00:00
Do not get collective member when collective doesn't exist
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user