Merge "Return 404 rather than ValueError"

This commit is contained in:
Jenkins 2017-07-05 16:51:47 +00:00 committed by Gerrit Code Review
commit f7aec5ccf5
1 changed files with 1 additions and 1 deletions

View File

@ -48,7 +48,7 @@ def get_service(a):
if service in ['image', 'volume']:
return service
else:
raise ValueError
abort(404)
def get_details(method, path, headers):