]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Removes unecessary call to rbd.Image
authorEdward Hope-Morley <edward.hope-morley@canonical.com>
Sun, 15 Jun 2014 20:30:19 +0000 (21:30 +0100)
committerEdward Hope-Morley <edward.hope-morley@canonical.com>
Sun, 15 Jun 2014 20:42:26 +0000 (21:42 +0100)
commit86643780bc2cf1f7a467a7c65aab64e3110d031e
tree0ed8cecc7b4ac0cdc2b26cb8f5a1f37b0b86c6ff
parent72f18d9e23265323ea55f6a7a8e115236f7be97e
Removes unecessary call to rbd.Image

Removed duplicate and unprotected call to rbd.Image
in rbd driver which can result in an uncaught exception
if the rbd image no longer exists.

Also added unit test for _delete_backup_snaps()

Closes-Bug: 1323203
Change-Id: I89eedb0d0276a985b4d496093df2eee2ce067ec1
cinder/tests/test_rbd.py
cinder/volume/drivers/rbd.py