mirror of https://github.com/veops/cmdb.git
Update value.py
feat(AttributeValueManager.create_or_update_attr_value()): AttributeValue update skip The same value
This commit is contained in:
parent
889d9155bc
commit
103596238e
|
@ -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):
|
||||
|
|
Loading…
Reference in New Issue