Fix some bugs in the tags registry api.
This commit is contained in:
parent
1e72644ef8
commit
603ad53f6a
2 changed files with 24 additions and 9 deletions
|
@ -68,7 +68,7 @@ def delete_tag(namespace, repository, tag):
|
|||
permission = ModifyRepositoryPermission(namespace, repository)
|
||||
|
||||
if permission.can():
|
||||
model.delete_tag(namespace, repository, tag_name)
|
||||
model.delete_tag(namespace, repository, tag)
|
||||
|
||||
return make_response('Deleted', 204)
|
||||
|
||||
|
|
Reference in a new issue