Add some missing documentation.

This commit is contained in:
jakedt 2014-03-14 13:27:56 -04:00
parent ae6bfb072d
commit ab60a10a93
2 changed files with 3 additions and 0 deletions

View file

@ -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: