parent
0aa6e6cd58
commit
d349e1639a
1 changed files with 1 additions and 1 deletions
|
@ -42,7 +42,7 @@ class RepositoryImageSecurity(RepositoryParamResource):
|
||||||
@query_param('vulnerabilities', 'Include vulnerabilities informations', type=truthy_bool,
|
@query_param('vulnerabilities', 'Include vulnerabilities informations', type=truthy_bool,
|
||||||
default=False)
|
default=False)
|
||||||
def get(self, namespace, repository, imageid, parsed_args):
|
def get(self, namespace, repository, imageid, parsed_args):
|
||||||
""" Fetches the features and vulnerabilities (if any) for a repository tag. """
|
""" Fetches the features and vulnerabilities (if any) for a repository image. """
|
||||||
repo_image = model.image.get_repo_image(namespace, repository, imageid)
|
repo_image = model.image.get_repo_image(namespace, repository, imageid)
|
||||||
if repo_image is None:
|
if repo_image is None:
|
||||||
raise NotFound()
|
raise NotFound()
|
||||||
|
|
Reference in a new issue