Reviewed: https://review.openstack.org/291258 Committed: https://git.openstack.org/cgit/openstack/manila/commit/?id=b8e9ae892ab9c8c7c17a99450e0ff9d0b1787afc Submitter: Jenkins Branch: master
commit b8e9ae892ab9c8c7c17a99450e0ff9d0b1787afc Author: Rodrigo Barbieri <email address hidden> Date: Thu Mar 10 12:45:05 2016 -0300
Fix Share Migration KeyError on dict.pop
In Share migration it is always trying to remove the Copy object from dictionary, even if it has not been added yet. So, dict.pop() should include second argument to not throw exception.
Improved unit test to cover this variation.
Closes-bug: #1555630 Change-Id: If81c14cbeb03e41501d825cab000ceb1aa2cae7c
Reviewed: https:/ /review. openstack. org/291258 /git.openstack. org/cgit/ openstack/ manila/ commit/ ?id=b8e9ae892ab 9c8c7c17a99450e 0ff9d0b1787afc
Committed: https:/
Submitter: Jenkins
Branch: master
commit b8e9ae892ab9c8c 7c17a99450e0ff9 d0b1787afc
Author: Rodrigo Barbieri <email address hidden>
Date: Thu Mar 10 12:45:05 2016 -0300
Fix Share Migration KeyError on dict.pop
In Share migration it is always trying to remove the Copy object
from dictionary, even if it has not been added yet. So, dict.pop()
should include second argument to not throw exception.
Improved unit test to cover this variation.
Closes-bug: #1555630 1501d825cab000c eb1aa2cae7c
Change-Id: If81c14cbeb03e4