Merge branch 'master' of https://bitbucket.org/yackob03/quay
This commit is contained in:
commit
178e4bb613
1 changed files with 3 additions and 1 deletions
|
@ -39,7 +39,9 @@ def get_tag(namespace, repository, tag):
|
|||
|
||||
if permission.can() or model.repository_is_public(namespace, repository):
|
||||
tag_image = model.get_tag_image(namespace, repository, tag)
|
||||
response = make_response(tag_image.docker_image_id, 200)
|
||||
resp = make_response('"%s"' % tag_image.docker_image_id)
|
||||
resp.headers['Content-Type'] = 'application/json'
|
||||
return resp
|
||||
|
||||
abort(403)
|
||||
|
||||
|
|
Reference in a new issue