diff --git a/aodh/api/controllers/v2/base.py b/aodh/api/controllers/v2/base.py index 70d8a6603..6c95c050f 100644 --- a/aodh/api/controllers/v2/base.py +++ b/aodh/api/controllers/v2/base.py @@ -43,14 +43,6 @@ class ClientSideError(wsme.exc.ClientSideError): super(ClientSideError, self).__init__(error, status_code) -class EntityNotFound(ClientSideError): - def __init__(self, entity, id): - super(EntityNotFound, self).__init__( - _("%(entity)s %(id)s Not Found") % {'entity': entity, - 'id': id}, - status_code=404) - - class ProjectNotAuthorized(ClientSideError): def __init__(self, id, aspect='project'): params = dict(aspect=aspect, id=id)