]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Use function capsulation in Huawei driver
authorWilson Liu <liuxinguo@huawei.com>
Sun, 13 Sep 2015 13:26:08 +0000 (21:26 +0800)
committerWilson Liu <liuxinguo@huawei.com>
Thu, 24 Sep 2015 07:05:13 +0000 (15:05 +0800)
commit8d5cd04f08e944c195341785d10217f36bc1dd5c
tree5ce340395cd33706aa6ccce4302e569ea648e67a
parent95de262093b84679f872b5a260d84385e8a72878
Use function capsulation in Huawei driver

Use a function _get_id_from_result() instead of lots of
duplicated code.

Closes-Bug: #1495231
Change-Id: I8ae7d27cb977110109fa26bd6b3ddcbc7298fbc1
cinder/tests/unit/test_huawei_drivers.py
cinder/volume/drivers/huawei/rest_client.py