mirror of https://github.com/veops/cmdb.git
parent
08fcac6a12
commit
8a5dadcaa4
|
@ -191,7 +191,7 @@ class CIManager(object):
|
||||||
value_manager = AttributeValueManager()
|
value_manager = AttributeValueManager()
|
||||||
for p, v in ci_dict.items():
|
for p, v in ci_dict.items():
|
||||||
if p not in ci_type_attrs_name:
|
if p not in ci_type_attrs_name:
|
||||||
current_app.logger.warning(f'ci_type: {ci_type_name} not has attribute {p}, please check!')
|
current_app.logger.warning('ci_type: {0} not has attribute {1}, please check!'.format(ci_type_name, p))
|
||||||
continue
|
continue
|
||||||
try:
|
try:
|
||||||
value_manager.create_or_update_attr_value(p, v, ci, _no_attribute_policy)
|
value_manager.create_or_update_attr_value(p, v, ci, _no_attribute_policy)
|
||||||
|
|
Loading…
Reference in New Issue