2
0
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:
Jarrod Johnson 2023-03-06 16:59:07 -05:00
parent 22c464e092
commit 8b89232922

View File

@ -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