NSXv3: Fix a typo in LBaaS member_mgr

This patch fixes a typo in member_mgr that mistakenly uses nsx
exception for BadRequest.

Change-Id: Ic9c2e785c303460efab04efaaf9e1edcad6bbc94
This commit is contained in:
Tong Liu 2017-09-18 16:58:57 +00:00
parent 6127c84025
commit 9a0253d22c
1 changed files with 1 additions and 1 deletions

View File

@ -46,7 +46,7 @@ class EdgeMemberManager(base_mgr.Nsxv3LoadbalancerBaseManager):
else:
msg = (_('Cannot get floating ip %(fip)s provided from '
'neutron db') % {'fip': fip})
raise nsx_exc.BadRequest(resource='lbaas-vip', msg=msg)
raise n_exc.BadRequest(resource='lbaas-vip', msg=msg)
@log_helpers.log_method_call
def _create_lb_service(self, context, service_client, tenant_id,