]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Huawei: delete_snapshot need not return any value
authorWilson Liu <liuxinguo@huawei.com>
Thu, 25 Feb 2016 03:27:19 +0000 (11:27 +0800)
committerWilson Liu <liuxinguo@huawei.com>
Sat, 27 Feb 2016 01:59:17 +0000 (09:59 +0800)
commit66a77e4112c3a3c4a800b504f27895994b58c4f5
tree2d90fd2954e9195ef36611f1e50146618fa3f7af
parent63cc4a2b773aeb401d42f0300a26097d32c3f345
Huawei: delete_snapshot need not return any value

Currently delete_snapshot return True or False to indicate
whether the snapshot is really deleted on the array. This
is useless and just write for unit tests. Now we will remove
the return value and add another unit test for delete_snapshot.

Closes-Bug: #1549584
Change-Id: I17fea61e3c0f5565ab04bc82f172e638480f45dc
cinder/tests/unit/test_huawei_drivers.py
cinder/volume/drivers/huawei/huawei_driver.py