]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Check before add lun to QoS in Huawei driver
authorWilson Liu <liuxinguo@huawei.com>
Tue, 1 Sep 2015 11:22:41 +0000 (19:22 +0800)
committerWilson Liu <liuxinguo@huawei.com>
Tue, 1 Sep 2015 14:16:24 +0000 (22:16 +0800)
commitf3d3c34895b0271c43e4eb7b5248396a2be5be61
tree3e1abc3e462a22d7b7e45c50aeb60fcc579eadcf
parent126e4f215e5fc0275a3c660990504b4e758de099
Check before add lun to QoS in Huawei driver

Check whether the lun_id has already been
added into the QoS before we add it.

Also some very small code clean in this patch.

Closes-Bug: #1490935
Change-Id: Ie0a2e4debe229d2f5ad8c66cfd1f0bf5522e4733
cinder/volume/drivers/huawei/rest_client.py