Add PhysicalResourceNameAmbiguity to exc mapping

Change-Id: I0c30328027c14306d27ee1948c0b3752b31982fe
Closes-Bug: #1474595
This commit is contained in:
Oleksii Chuprykov 2015-07-15 12:05:35 +03:00
parent 5a4a738bcb
commit 961ad96bdd
1 changed files with 1 additions and 0 deletions

View File

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