mirror of
https://github.com/bb-Ricardo/netbox-sync.git
synced 2026-01-19 23:40:26 -06:00
removes source name from Tag description to avoid changing of tag description
This commit is contained in:
@@ -676,7 +676,7 @@ class VMWareHandler(SourceBase):
|
||||
# noinspection PyBroadException
|
||||
try:
|
||||
tag_name = self.tag_session.tagging.Tag.get(tag_id).name
|
||||
tag_description = f"{primary_tag_name} {self.name}: "\
|
||||
tag_description = f"{primary_tag_name}: "\
|
||||
f"{self.tag_session.tagging.Tag.get(tag_id).description}"
|
||||
except Exception as e:
|
||||
log.error(f"Unable to retrieve vCenter tag '{tag_id}' for '{obj.name}': {e}")
|
||||
|
||||
Reference in New Issue
Block a user