]> 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)
committerJohn Griffith <john.griffith@solidfire.com>
Fri, 22 Mar 2013 04:00:25 +0000 (22:00 -0600)
commit4eba837f611063c95494f3de93cb9853f343896d
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
(cherry picked from commit 7817d12439a4c86d3015ce8e6a74f72804fdfd24)
cinder/tests/test_huawei.py
cinder/volume/drivers/huawei/huawei_iscsi.py