Merge "Add PhysicalResourceNameAmbiguity to exc mapping"

This commit is contained in:
Jenkins 2015-07-15 21:17:51 +00:00 committed by Gerrit Code Review
commit 574dbe57d6
1 changed files with 1 additions and 0 deletions

View File

@ -63,6 +63,7 @@ class FaultWrapper(wsgi.Middleware):
'SnapshotNotFound': webob.exc.HTTPNotFound, 'SnapshotNotFound': webob.exc.HTTPNotFound,
'ResourceNotAvailable': webob.exc.HTTPNotFound, 'ResourceNotAvailable': webob.exc.HTTPNotFound,
'PhysicalResourceNotFound': webob.exc.HTTPNotFound, 'PhysicalResourceNotFound': webob.exc.HTTPNotFound,
'PhysicalResourceNameAmbiguity': webob.exc.HTTPBadRequest,
'InvalidTenant': webob.exc.HTTPForbidden, 'InvalidTenant': webob.exc.HTTPForbidden,
'Forbidden': webob.exc.HTTPForbidden, 'Forbidden': webob.exc.HTTPForbidden,
'StackExists': webob.exc.HTTPConflict, 'StackExists': webob.exc.HTTPConflict,