Make security scan testing much faster
This commit is contained in:
parent
836a99083e
commit
343a080833
4 changed files with 13 additions and 5 deletions
|
@ -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)
|
||||
|
|
Reference in a new issue