2
0
mirror of https://github.com/xcat2/confluent.git synced 2026-07-31 01:59:42 +00:00

Merge branch 'master' into async

This commit is contained in:
Jarrod Johnson
2024-03-15 15:51:08 -04:00
@@ -587,7 +587,10 @@ def get_deployment_profile(node, cfg, cfd=None):
return None
candmgrs = cfd.get(node, {}).get('collective.managercandidates', {}).get('value', None)
if candmgrs:
candmgrs = noderange.NodeRange(candmgrs, cfg).nodes
try:
candmgrs = noderange.NodeRange(candmgrs, cfg).nodes
except Exception: # fallback to unverified noderange
candmgrs = noderange.NodeRange(candmgrs).nodes
if collective.get_myname() not in candmgrs:
return None
return profile