]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Fix calling delete_zones method with a wrong argument
authorchenying <ying.chen@huawei.com>
Wed, 2 Sep 2015 09:48:59 +0000 (17:48 +0800)
committerchenying <ying.chen@huawei.com>
Fri, 30 Oct 2015 08:36:46 +0000 (16:36 +0800)
commit2ce285ecfb261c09e1b93de85b8e5415c2cb56fe
tree6fef8bf2cda5ace1181220d6262108f4ce1a1f46
parent99dc6d34754954a27f6998406a94743c41b93981
Fix calling delete_zones method with a wrong argument

Add a new zone with cisco zonemanager driver. If the added zone
name is the same as the existed name, the function delete_zones
will be called. But it fails because of passing a argument with
incorrect type. This patch fixes this error.

Co-Authored-By: Al Lau <alau2@cisco.com>
Closes-Bug: #1496283
Change-Id: Ib340b6828cfeb2bb318db23971268c7974ecc9f6
cinder/tests/unit/zonemanager/test_cisco_fc_zone_client_cli.py
cinder/zonemanager/drivers/cisco/cisco_fc_zone_client_cli.py