endpoints.verbs: 202 for unfinished aci sigs

This commit is contained in:
Jimmy Zelinskie 2015-04-29 15:33:20 -04:00
parent a03a327748
commit edd0ba4cdb

View file

@ -140,7 +140,7 @@ def _repo_verb_signature(namespace, repository, tag, verb, checker=None, **kwarg
# Lookup the derived image storage for the verb.
derived = model.find_derived_storage(repo_image.storage, verb)
if derived is None or derived.uploading:
abort(404)
return make_response('', 202)
# Check if we have a valid signer configured.
if not signer.name: