Fix exception handling in update port call
Closes-Bug: #1507819 Change-Id: Iaa11c8a1f3c5040d9c3d16634619707c697d5207
This commit is contained in:
parent
5b8e132cfb
commit
1f1ac90b33
|
@ -807,7 +807,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