removes source name from Tag description to avoid changing of tag description

This commit is contained in:
ricardo.bartels@telekom.de
2023-12-22 16:05:13 +01:00
parent ad64f3a08e
commit 7e4f8da1ff

View File

@@ -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}")