fix: Operator write failed (#13677)

Co-authored-by: feng <1304903146@qq.com>
pull/13679/head
fit2bot 2024-07-10 11:24:26 +08:00 committed by GitHub
parent 8ef84bbc03
commit bf82a1c721
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 0 deletions

View File

@ -120,6 +120,8 @@ class OperatorLogHandler(metaclass=Singleton):
encrypt_value = '******' encrypt_value = '******'
new_data = {} new_data = {}
for label, item in dict_item.items(): for label, item in dict_item.items():
if not isinstance(item, (dict,)):
continue
value = item.get('value', '') value = item.get('value', '')
field_name = item.get('name', '') field_name = item.get('name', '')
if isinstance(value, bool): if isinstance(value, bool):