mirror of
https://github.com/xcat2/confluent.git
synced 2024-11-26 19:40:12 +00:00
Fix policy handling if not set
This commit is contained in:
parent
19f75474fc
commit
312af72d9f
@ -707,6 +707,8 @@ def discover_node(cfg, handler, info, nodename, manual):
|
||||
'pubkeys.tls_hardwaremanager'))
|
||||
policy = dp.get(nodename, {}).get('discovery.policy', {}).get(
|
||||
'value', None)
|
||||
if policy is None:
|
||||
policy = ''
|
||||
policies = set(policy.split(','))
|
||||
lastfp = dp.get(nodename, {}).get('pubkeys.tls_hardwaremanager',
|
||||
{}).get('value', None)
|
||||
|
Loading…
Reference in New Issue
Block a user