2
0
mirror of https://github.com/xcat2/confluent.git synced 2024-11-26 11:30:23 +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 1db781852c
commit fde2c7a8e0

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*'