Update yeti.py

change tags method
pull/488/head
Sebdraven 2021-04-19 17:16:59 +02:00
parent 21b52dda15
commit ee7c065795
1 changed files with 3 additions and 1 deletions

View File

@ -96,7 +96,9 @@ class Yeti():
except KeyError:
logging.error('type not found %s' % obs_to_add['type'])
return
attr.tags.extend([t['name'] for t in obs_to_add['tags']])
for t in obs_to_add['tags']:
attr.tags.append(t['name'])
return attr
def __get_object_domain_ip(self, obj_to_add):