Skip to content

Commit

Permalink
Fixes 500 error when pulling by tag
Browse files Browse the repository at this point in the history
  • Loading branch information
dkliban committed May 26, 2020
1 parent cea825e commit adc970e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGES/6776.bugfix
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Fixed 500 error when pulling by tag.
2 changes: 1 addition & 1 deletion pulp_container/app/registry.py
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ async def dispatch_tag(tag, response_headers):
"""
try:
artifact = tag._artifacts.get()
artifact = tag.tagged_manifest._artifacts.get()
except ObjectDoesNotExist:
raise ArtifactNotFound(tag.name)
else:
Expand Down

0 comments on commit adc970e

Please sign in to comment.