Fix exception handling in update port call
Closes-Bug: #1507819
Change-Id: Iaa11c8a1f3c5040d9c3d16634619707c697d5207
(cherry picked from commit 1f1ac90b33
)
This commit is contained in:
parent
2cd22c9280
commit
452b7aac7f
|
@ -783,7 +783,7 @@ class NsxV3Plugin(addr_pair_db.AllowedAddressPairsMixin,
|
|||
with excutils.save_and_reraise_exception():
|
||||
with context.session.begin(subtransactions=True):
|
||||
super(NsxV3Plugin, self).update_port(
|
||||
context, id, original_port)
|
||||
context, id, {'port': original_port})
|
||||
if sec_grp_updated:
|
||||
self.update_security_group_on_port(
|
||||
context, id, {'port': original_port}, updated_port,
|
||||
|
|
Loading…
Reference in New Issue