Add some missing documentation.
This commit is contained in:
parent
ae6bfb072d
commit
ab60a10a93
2 changed files with 3 additions and 0 deletions
|
@ -60,6 +60,7 @@ class RepositoryImage(RepositoryParamResource):
|
|||
@require_repo_read
|
||||
@nickname('getImage')
|
||||
def get(self, namespace, repository, image_id):
|
||||
""" Get the information available for the specified image. """
|
||||
image = model.get_repo_image(namespace, repository, image_id)
|
||||
if not image:
|
||||
abort(404)
|
||||
|
@ -75,6 +76,7 @@ class RepositoryImageChanges(RepositoryParamResource):
|
|||
@require_repo_read
|
||||
@nickname('getImageChanges')
|
||||
def get(self, namespace, repository, image_id):
|
||||
""" Get the list of changes for the specified image. """
|
||||
image = model.get_repo_image(namespace, repository, image_id)
|
||||
|
||||
if not image:
|
||||
|
|
Reference in a new issue