Fix 500 on get label endpoint and add a test

Fixes #2133
This commit is contained in:
Joseph Schorr 2016-11-17 14:55:14 -05:00
parent 848a3d4cc3
commit 0b549125d9
2 changed files with 8 additions and 1 deletions

View file

@ -119,7 +119,6 @@ class ManageRepositoryManifestLabel(RepositoryParamResource):
""" Resource for managing the labels on a specific repository manifest. """
@require_repo_read
@nickname('getManifestLabel')
@parse_args()
def get(self, namespace, repository, manifestref, labelid):
""" Retrieves the label with the specific ID under the manifest. """
try: