Skip to content

Commit

Permalink
removes source name from Tag description to avoid changing of tag des…
Browse files Browse the repository at this point in the history
…cription
  • Loading branch information
bb-Ricardo committed Dec 22, 2023
1 parent ad64f3a commit 7e4f8da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion module/sources/vmware/connection.py
Original file line number Diff line number Diff line change
Expand Up @@ -676,7 +676,7 @@ def get_vmware_object_tags(self, obj):
# 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}")
Expand Down

0 comments on commit 7e4f8da

Please sign in to comment.