Skip to content

Commit

Permalink
Add comment.
Browse files Browse the repository at this point in the history
No-Issue

Signed-off-by: James Tanner <[email protected]>
  • Loading branch information
jctanner committed Oct 23, 2023
1 parent 1b89627 commit c1a6a37
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions galaxy_ng/app/api/v1/tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -303,6 +303,8 @@ def legacy_role_import(
# ALL semver tags should become versions
current_tags = []
for cversion in versions:
# we want tag but the sync'ed roles don't have it
# because the serializer returns "name" instead.
tag = cversion.get('tag')
if not tag:
tag = cversion.get('name')
Expand Down

0 comments on commit c1a6a37

Please sign in to comment.