Fix exception handling in update port call

Closes-Bug: #1507819
Change-Id: Iaa11c8a1f3c5040d9c3d16634619707c697d5207
This commit is contained in:
Abhishek Raut 2015-08-28 07:36:12 -07:00
parent 5b8e132cfb
commit 1f1ac90b33
1 changed files with 1 additions and 1 deletions

View File

@ -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,