]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Huawei: Don't fail when port group does not exist
authorWilson Liu <liuxinguo@huawei.com>
Sat, 23 Jan 2016 02:32:43 +0000 (10:32 +0800)
committerWilson Liu <liuxinguo@huawei.com>
Wed, 24 Feb 2016 03:42:03 +0000 (11:42 +0800)
commitac5540ec7dc0cdee77168f57c70ad141efd4644f
tree425d2134f45de7df88bf44425b4b0f75b9bc6168
parent96470cee04d158a45faa8bb93127944556892ec4
Huawei: Don't fail when port group does not exist

Currently when we request a port group but the
port group does not exist, an error will be raised.
This is not appropriate, because port group not
exists is a normal case.

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