]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Fix return value inconsistency in VNX Driver
authorJeegn Chen <jeegn.chen@emc.com>
Tue, 17 Feb 2015 05:05:26 +0000 (13:05 +0800)
committerJeegn Chen <jeegn.chen@emc.com>
Wed, 18 Feb 2015 09:05:41 +0000 (17:05 +0800)
commitc973511fbb436909e25ac47dfe47aaf6aa465af0
treed2d0eb3d225cde6274b78086faac7dba5c3c1706
parent22a3ba50e8007d94e253aba598fb8b11b6bfdb28
Fix return value inconsistency in VNX Driver

When iscsi_initiators option for EMC Cinder Driver has no value,
a dict object is returned by find_available_iscsi_targets() in
EMC Cinder Driver while a list is expected. Thus an
initialize_connection() will fail due to the inconsistency.

This patch is to fix this inconsistency in the driver.

Change-Id: I094340cc60da4a8b423233983a1d00784bbbb8ea
Closes-Bug: 1422563
cinder/tests/test_emc_vnxdirect.py
cinder/volume/drivers/emc/emc_vnx_cli.py