Fix V1 push URL to match Docker and fix registry tests

This commit is contained in:
Joseph Schorr 2016-01-29 16:42:15 +02:00
parent 6402049c38
commit accc576a98
2 changed files with 2 additions and 2 deletions

View file

@ -168,7 +168,7 @@ def update_user(username):
abort(403)
@v1_bp.route('/repositories/<repopath:repository>', methods=['PUT'])
@v1_bp.route('/repositories/<repopath:repository>/', methods=['PUT'])
@process_auth
@parse_repository_name
@generate_headers(scope=GrantType.WRITE_REPOSITORY, add_grant_for_status=201)