2
0
mirror of https://github.com/xcat2/confluent.git synced 2024-11-22 17:43:14 +00:00

Fix the encuuid reference

encuuid is a list, not the value, so get the first value
rather than try to concatenate the string.
This commit is contained in:
Jarrod Johnson 2018-05-18 11:47:34 -04:00
parent 32d60145f7
commit fbbb5d048f

View File

@ -897,6 +897,7 @@ def eval_node(cfg, handler, info, nodename, manual=False):
# to match uuid
encuuid = info['attributes'].get('chassis-uuid', None)
if encuuid:
encuuid = encuuid[0]
enl = list(cfg.filter_node_attributes('id.uuid=' + encuuid))
if len(enl) != 1:
# errorstr = 'No SMM by given UUID known, *yet*'