]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Ensure return for db api functions
authorAvishay Traeger <avishay@il.ibm.com>
Thu, 20 Feb 2014 11:22:37 +0000 (13:22 +0200)
committerAvishay Traeger <avishay@il.ibm.com>
Thu, 20 Feb 2014 11:22:37 +0000 (13:22 +0200)
commitb1e7d0ad220d869323754683dbb447f6821ef705
tree254646c197b0c296636a98789c886c81cb218d78
parentdf852cfe7fe308ce9a6d63e03d7371a006c4de1f
Ensure return for db api functions

Functions in db/api.py should return whatever the implementation of
those functions return. This is important for qos_specs_update which
returns something for the sqlalchemy implementation, but for others as
well for future implementations.

Added 'return' for functions that were missing it.

Change-Id: I384b1cf915b2d2238fd75d23b17558cae2cf9f50
Closes-Bug: #1272365
cinder/db/api.py