Reviewed: https://review.openstack.org/187819 Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=75f3aaa4cc42c2c1280f6c578e27e64cff8f860c Submitter: Jenkins Branch: master
commit 75f3aaa4cc42c2c1280f6c578e27e64cff8f860c Author: Kevin Benton <email address hidden> Date: Tue Jun 2 16:52:14 2015 -0700
Check for 'removed' in port_info before reference
scan_ports can return early on no changes, in which case 'removed' won't be present in the dict. The deleted_ports logic wasn't setup to handle that.
This patch checks for the key before trying to reference it.
Change-Id: I0e2c6d76515ad8e2a2addc8d40451ac003a150f7 Closes-Bug: #1461325
Reviewed: https:/ /review. openstack. org/187819 /git.openstack. org/cgit/ openstack/ neutron/ commit/ ?id=75f3aaa4cc4 2c2c1280f6c578e 27e64cff8f860c
Committed: https:/
Submitter: Jenkins
Branch: master
commit 75f3aaa4cc42c2c 1280f6c578e27e6 4cff8f860c
Author: Kevin Benton <email address hidden>
Date: Tue Jun 2 16:52:14 2015 -0700
Check for 'removed' in port_info before reference
scan_ports can return early on no changes, in which case
'removed' won't be present in the dict. The deleted_ports
logic wasn't setup to handle that.
This patch checks for the key before trying to reference it.
Change-Id: I0e2c6d76515ad8 e2a2addc8d40451 ac003a150f7
Closes-Bug: #1461325