2
0
mirror of https://github.com/xcat2/confluent.git synced 2025-01-15 04:07:51 +00:00

Fix deployment.useinsecureprotocols

If explicitly set to 'never', it would behave as 'firmware'.
This commit is contained in:
Jarrod Johnson 2020-09-11 09:44:09 -04:00
parent ea533e64c6
commit 31d19e9398

View File

@ -441,7 +441,7 @@ def check_reply(node, info, packet, sock, cfg, reqview):
return
rqtype = packet[53][0]
insecuremode = cfd.get(node, {}).get('deployment.useinsecureprotocols',
'never')
{}).get('value', 'never')
if not insecuremode:
insecuremode = 'never'
if insecuremode == 'never' and not httpboot: