2
0
mirror of https://github.com/xcat2/confluent.git synced 2026-10-20 06:35:33 +00:00

After successful set of an attribute, clear any now-stale broken diagnostic infoa

This commit is contained in:
Jarrod Johnson
2026-10-07 07:53:37 -04:00
parent 3a9e256869
commit c0c5d39a8c
@@ -1336,6 +1336,8 @@ def _decode_attribute(attribute, nodeobj, formatter=None, decrypt=False):
del retdict['value']
try:
retdict['value'] = formatter.format(retdict['expression'])
if 'broken' in retdict:
del retdict['broken']
except Exception as e:
retdict['broken'] = str(e)
return retdict