2
0
mirror of https://github.com/xcat2/confluent.git synced 2024-11-29 13:00:03 +00:00

Do not respond to deployment calls without quorum

This commit is contained in:
Jarrod Johnson 2020-06-17 11:09:05 -04:00
parent 86de9ce276
commit d4736e0aad

View File

@ -24,6 +24,7 @@ def handle_request(env, start_response):
global keymap
global currlocale
global currtzvintage
configmanager.check_quorum()
nodename = env.get('HTTP_CONFLUENT_NODENAME', None)
apikey = env.get('HTTP_CONFLUENT_APIKEY', None)
if not (nodename and apikey):