2
0
mirror of https://github.com/xcat2/confluent.git synced 2024-11-25 11:01:09 +00:00

Fix error where layout would bail if a partial error were encountered

This commit is contained in:
Jarrod Johnson 2024-01-03 15:58:24 -05:00
parent b0e23121a8
commit 39c00323b3

View File

@ -93,6 +93,9 @@ def retrieve(nodes, element, configmanager, inputdata):
'/noderange/{0}/description'.format(needheight),
'retrieve', configmanager,
inputdata=None):
if not hasattr(rsp, 'kvpairs'):
results['errors'].append((rsp.node, rsp.error))
continue
kvp = rsp.kvpairs
for node in kvp:
allnodedata[node]['height'] = kvp[node]['height']