Make the squashed path smaller and handle failure cases on the curl side

This commit is contained in:
Joseph Schorr 2014-09-19 12:54:52 -04:00
parent 9003670826
commit e5055763f6
3 changed files with 4 additions and 5 deletions

View file

@ -53,7 +53,7 @@ def _write_synthetic_image_to_storage(linked_storage_uuid, linked_locations, que
done_uploading.save()
@verbs.route('/<namespace>/<repository>/<tag>/squash', methods=['GET'])
@verbs.route('/squash/<namespace>/<repository>/<tag>', methods=['GET'])
@process_auth
def get_squashed_tag(namespace, repository, tag):
permission = ReadRepositoryPermission(namespace, repository)