Merge "NSXv: Fix pool logging calls"
This commit is contained in:
commit
8bc4104162
@ -77,7 +77,7 @@ class EdgePoolManager(base_mgr.EdgeLoadbalancerBaseManager):
|
||||
except nsxv_exc.VcnsApiException:
|
||||
with excutils.save_and_reraise_exception():
|
||||
self.lbv2_driver.pool.failed_completion(context, pool)
|
||||
LOG.error(_LE('Failed to create pool %s'), pool['id'])
|
||||
LOG.error(_LE('Failed to create pool %s'), pool.id)
|
||||
|
||||
@log_helpers.log_method_call
|
||||
def update(self, context, old_pool, new_pool):
|
||||
@ -113,7 +113,7 @@ class EdgePoolManager(base_mgr.EdgeLoadbalancerBaseManager):
|
||||
except nsxv_exc.VcnsApiException:
|
||||
with excutils.save_and_reraise_exception():
|
||||
self.lbv2_driver.pool.failed_completion(context, new_pool)
|
||||
LOG.error(_LE('Failed to update pool %s'), new_pool['id'])
|
||||
LOG.error(_LE('Failed to update pool %s'), new_pool.id)
|
||||
|
||||
@log_helpers.log_method_call
|
||||
def delete(self, context, pool):
|
||||
@ -147,4 +147,4 @@ class EdgePoolManager(base_mgr.EdgeLoadbalancerBaseManager):
|
||||
context.session, lb_id, pool.id)
|
||||
except nsxv_exc.VcnsApiException:
|
||||
self.lbv2_driver.pool.failed_completion(context, pool)
|
||||
LOG.error(_LE('Failed to delete pool %s'), pool['id'])
|
||||
LOG.error(_LE('Failed to delete pool %s'), pool.id)
|
||||
|
Loading…
Reference in New Issue
Block a user