]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Use self.configuration to support the multi-backend case
authorzhangchao010 <zhangchao010@huawei.com>
Fri, 15 Mar 2013 15:14:39 +0000 (23:14 +0800)
committerzhangchao010 <zhangchao010@huawei.com>
Fri, 15 Mar 2013 15:43:50 +0000 (23:43 +0800)
commit7817d12439a4c86d3015ce8e6a74f72804fdfd24
tree016b7afc6290c169140a86288f8ed1e6fcd248ad
parent36e4e85b1f669a9fed873f4a43c783947430c763
Use self.configuration to support the multi-backend case

Use self.configuration instead of using FLAGS directly to make
the driver work in a multi backend environment.
And remove three repeated lines:en = out.split('\r\n')

Fixes bug: 1154125

Change-Id: I6e08706104eabb71677ec8583b9abb9711553504
cinder/tests/test_huawei.py
cinder/volume/drivers/huawei/huawei_iscsi.py