Fix doc comment on security scan API endpoint

Fixes #2216
This commit is contained in:
Joseph Schorr 2016-12-07 11:50:22 -05:00
parent 0aa6e6cd58
commit d349e1639a

View file

@ -42,7 +42,7 @@ class RepositoryImageSecurity(RepositoryParamResource):
@query_param('vulnerabilities', 'Include vulnerabilities informations', type=truthy_bool,
default=False)
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)
if repo_image is None:
raise NotFound()