]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Improve provider_location cleanup code for RBD.
authorAdam Gandelman <adam.gandelman@canonical.com>
Wed, 28 Nov 2012 01:51:26 +0000 (17:51 -0800)
committerAdam Gandelman <adam.gandelman@canonical.com>
Wed, 28 Nov 2012 01:52:01 +0000 (17:52 -0800)
commitd030c5b10e9e8d73d967562259e7db6146347108
tree209e5d7dfeebd36741c725e536bd6bbe21b13e91
parentd81113f55e7a40adceae5bdab9878acbee42e518
Improve provider_location cleanup code for RBD.

The RBD driver does not make use of the 'provider_location' field
but the current cleanup code assumes it does.  Ensure the field
is in use before testing whether or not it needs fixing.

Fixes bug 1083818.

Change-Id: Id6ff85101f85e70575ba244c2df7aca0196cf224
cinder/volume/manager.py