From 8b89232922e3080d3d0b453d324242e8ea015eb5 Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Mon, 6 Mar 2023 16:59:07 -0500 Subject: [PATCH] Do not get collective member when collective doesn't exist --- confluent_server/confluent/config/configmanager.py | 1 - 1 file changed, 1 deletion(-) diff --git a/confluent_server/confluent/config/configmanager.py b/confluent_server/confluent/config/configmanager.py index 6c773d0a..4653ff92 100644 --- a/confluent_server/confluent/config/configmanager.py +++ b/confluent_server/confluent/config/configmanager.py @@ -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