NSX|V3: remove double import
TrivialFix Change-Id: I2e0b8319a73d848e717e263306d3fd1f34ad6dfe
This commit is contained in:
parent
307133d844
commit
f769e3abdb
@ -31,7 +31,6 @@ from oslo_log import log
|
||||
from oslo_service import loopingcall
|
||||
from requests import adapters
|
||||
from vmware_nsx._i18n import _, _LI, _LW
|
||||
from vmware_nsx.common import exceptions as nsx_err
|
||||
from vmware_nsx.common import exceptions as nsx_exc
|
||||
from vmware_nsx.nsxlib.v3 import client as nsx_client
|
||||
|
||||
@ -372,7 +371,7 @@ class ClusteredAPI(object):
|
||||
def endpoint_connection(self):
|
||||
endpoint = self._select_endpoint(revalidate=True)
|
||||
if not endpoint:
|
||||
raise nsx_err.ServiceClusterUnavailable(
|
||||
raise nsx_exc.ServiceClusterUnavailable(
|
||||
cluster_id=self.cluster_id)
|
||||
|
||||
if endpoint.pool.free() == 0:
|
||||
|
Loading…
Reference in New Issue
Block a user