Merge pull request #2217 from coreos-inc/comment-fix
Fix doc comment on security scan API endpoint
This commit is contained in:
commit
57ace09a97
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