Reviewed: https://review.openstack.org/122440 Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=0efbcf4e168d030907adbadd6ab7fccf766f4068 Submitter: Jenkins Branch: master
commit 0efbcf4e168d030907adbadd6ab7fccf766f4068 Author: Ana Krivokapic <email address hidden> Date: Thu Sep 18 16:37:46 2014 +0200
Return None from get_swap() if input is not swap
If a non-swap parameter is passed to get_swap(), return None, rather than returning the parameter itself.
Change-Id: Icfb0eb0e4d721522160d0b7a4fd9b98c1871a10a Closes-bug: #1214406
Reviewed: https:/ /review. openstack. org/122440 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=0efbcf4e168 d030907adbadd6a b7fccf766f4068
Committed: https:/
Submitter: Jenkins
Branch: master
commit 0efbcf4e168d030 907adbadd6ab7fc cf766f4068
Author: Ana Krivokapic <email address hidden>
Date: Thu Sep 18 16:37:46 2014 +0200
Return None from get_swap() if input is not swap
If a non-swap parameter is passed to get_swap(), return None,
rather than returning the parameter itself.
Change-Id: Icfb0eb0e4d7215 22160d0b7a4fd9b 98c1871a10a
Closes-bug: #1214406