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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user