]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Use Service object instead of DB API directly
authorMichał Dulko <michal.dulko@intel.com>
Fri, 6 Nov 2015 11:37:23 +0000 (12:37 +0100)
committerMichał Dulko <michal.dulko@intel.com>
Fri, 6 Nov 2015 14:06:55 +0000 (15:06 +0100)
commit2e6a2872e88a5026acf426d1f89e6b68954079c5
treec73b35add883da6c21182066cc5f6195ba5cb758
parent91f18814405990d799c7a6bd37deef9254f7cdd1
Use Service object instead of DB API directly

In cmd.manage and volume.api we had code accessing DB API directly.
This should be done through Service versioned object instead and this
commit fixes that.

Change-Id: I7c65323279b86c37fce7ffeb2b2626508842edfb
Closes-Bug: 1513806
cinder/cmd/manage.py
cinder/tests/unit/api/contrib/test_snapshot_manage.py
cinder/tests/unit/test_cmd.py
cinder/volume/api.py