Remove references of novaclient.exceptions.EndpointNotFound
Removing references 'EndpointNotFound' since removed from novaclient [1] [1]: https://review.opendev.org/#/c/667762/ Change-Id: I02f96ed851af28c8458db63663d0231ee208a38e
This commit is contained in:
@@ -69,8 +69,7 @@ def translate_nova_exception(method):
|
||||
nova_exception.Forbidden) as exc:
|
||||
err_msg = encodeutils.exception_to_unicode(exc)
|
||||
_reraise(exception.Forbidden(err_msg))
|
||||
except (nova_exception.EndpointNotFound,
|
||||
nova_exception.NotFound) as exc:
|
||||
except (nova_exception.NotFound) as exc:
|
||||
err_msg = encodeutils.exception_to_unicode(exc)
|
||||
_reraise(exception.NotFound(reason=err_msg))
|
||||
except nova_exception.Conflict as exc:
|
||||
|
Reference in New Issue
Block a user