Merge "Fix bugs in certificate management exceptions"
This commit is contained in:
commit
4ce55c8608
@ -139,7 +139,7 @@ class ClientCertificateManager(object):
|
||||
self._nsx_trust_management.delete_cert(
|
||||
details['certificate_id'])
|
||||
|
||||
except exceptions.ManagerError as e:
|
||||
except nsxlib_exceptions.ManagerError as e:
|
||||
LOG.error(_LE("Failed to clear certificate on backend: %s"), e)
|
||||
ok = False
|
||||
|
||||
|
@ -62,5 +62,5 @@ class NsxLibTrustManagement(utils.NsxLibApiBase):
|
||||
return result
|
||||
|
||||
raise nsxlib_exc.ResourceNotFound(
|
||||
manager=self._client.nsx_api_managers,
|
||||
manager=self.client.nsx_api_managers,
|
||||
operation="Principal identity %s not found" % identity)
|
||||
|
Loading…
x
Reference in New Issue
Block a user