Make security scan testing much faster

This commit is contained in:
Joseph Schorr 2016-05-05 13:55:24 -04:00
parent 836a99083e
commit 343a080833
4 changed files with 13 additions and 5 deletions

View file

@ -170,7 +170,7 @@ def _torrent_repo_verb(repo_image, tag, verb, **kwargs):
abort(406)
# Lookup an *existing* derived storage for the verb. If the verb's image storage doesn't exist,
# we cannot create it here, so we 404.
# we cannot create it here, so we 406.
derived = model.image.find_derived_storage_for_image(repo_image, verb)
if not derived:
abort(406)