]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Cleanup unused DB APIs, part I
authorZhiteng Huang <zhithuang@ebaysf.com>
Wed, 14 Jan 2015 03:54:40 +0000 (11:54 +0800)
committerZhiteng Huang <zhithuang@ebaysf.com>
Fri, 23 Jan 2015 16:19:24 +0000 (00:19 +0800)
commitaa681d40bf6ef12d5df3d6357b70d268d3b915bf
tree8cf54b511a1bd6cbae0f3260ad0729844cdb0320
parentea64e3584a4c3bda3ed0f2822be139753ad945ba
Cleanup unused DB APIs, part I

There are unused DB APIs, some of them were leftovers of other features
removal, some are purely added without being used.  This change removes
these unused DB APIs.

Note that there are some DB APIs only used by unit tests, in other words
they are used in unit tests where they are not the unit of code being
tested. Those will be cleaned up in follow-up patch(es).

Change-Id: I456e64445dc8a258fdcc3c1b309f59f8adcc23e3
cinder/db/api.py
cinder/db/sqlalchemy/api.py
cinder/tests/test_db_api.py