]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Get the 'consumer' in a correct way for retyping with qos-specs
authorVincent Hou <sbhou@cn.ibm.com>
Tue, 25 Nov 2014 07:36:07 +0000 (23:36 -0800)
committerVincent Hou <sbhou@cn.ibm.com>
Wed, 26 Nov 2014 02:07:27 +0000 (02:07 +0000)
commitef59e5f8c42365f7d55ea84d4afb364241a388c3
tree0a5df5de1cca757acffc50689fef54f42f7afd64
parent38b64c0bd19c5b08f4e1b72b90afe8cf2438677e
Get the 'consumer' in a correct way for retyping with qos-specs

The qos specs returned from the database does not contain the
property "qos-specs". Intead, the property "consumer" can be accessed
directly.

Change-Id: I3fe57e5cc20a97d32c8b8c6089ab1e812257da45
closes-bug: #1389519
cinder/tests/api/contrib/test_volume_actions.py
cinder/volume/api.py