Merge "Add PhysicalResourceNameAmbiguity to exc mapping"
This commit is contained in:
commit
574dbe57d6
@ -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,
|
||||||
|
Loading…
Reference in New Issue
Block a user