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:
parent
1db781852c
commit
fde2c7a8e0
@ -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*'
|
||||
|
Loading…
Reference in New Issue
Block a user