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:
Shilpa Devharakar
2019-09-06 17:52:40 +05:30
parent 85fa0c0058
commit 24f678cd29

View File

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