Browse Source

Merge "Add PhysicalResourceNameAmbiguity to exc mapping"

changes/77/202277/2
Jenkins 7 years ago committed by Gerrit Code Review
parent
commit
574dbe57d6
  1. 1
      heat/api/middleware/fault.py

1
heat/api/middleware/fault.py

@ -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,

Loading…
Cancel
Save