]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Remove DB calls from Pure Volume Driver CG methods
authorPatrick East <patrick.east@purestorage.com>
Tue, 12 Jan 2016 18:22:18 +0000 (10:22 -0800)
committerPatrick East <patrick.east@purestorage.com>
Wed, 13 Jan 2016 01:39:34 +0000 (17:39 -0800)
commit0cd8cbdca8befd5b3c7a57faabfeda93910cf319
tree4a77a4930241a0adedc46cdc9d7e81e1b900e285
parent1847abf0a5812e725e8272aa145a5f8212db8519
Remove DB calls from Pure Volume Driver CG methods

After the updates to the CG API’s to pass in the objects we didn’t need
to call the DB anymore. This finally fixes that issue and updates to
return the actual database updates.

Change-Id: If6c96843be1d7e1cbc83e4258b917296129df621
Closes-Bug: #1531676
cinder/tests/unit/test_pure.py
cinder/volume/drivers/pure.py