mirror of
https://github.com/veops/cmdb.git
synced 2025-08-08 02:11:06 +08:00
Update value.py
feat(AttributeValueManager.create_or_update_attr_value()): AttributeValue update skip The same value
This commit is contained in:
@@ -166,7 +166,7 @@ class AttributeValueManager(object):
|
||||
else:
|
||||
existed_attr.update(value=value)
|
||||
|
||||
AttributeValueManager._write_change(ci.id, attr.id, OperateType.UPDATE, existed_value, value)
|
||||
self._write_change(ci.id, attr.id, OperateType.UPDATE, existed_value, value)
|
||||
|
||||
@staticmethod
|
||||
def delete_attr_value(attr_id, ci_id):
|
||||
|
Reference in New Issue
Block a user