Merge "Port EMC VMAX to Python 3"
This commit is contained in:
commit
00800f2f86
@ -1096,7 +1096,7 @@ class EMCVMAXMasking(object):
|
||||
groups = conn.AssociatorNames(
|
||||
maskingViewInstance,
|
||||
ResultClass='CIM_DeviceMaskingGroup')
|
||||
if groups[0] > 0:
|
||||
if len(groups) > 0:
|
||||
foundStorageGroupInstanceName = groups[0]
|
||||
|
||||
return foundStorageGroupInstanceName
|
||||
|
@ -56,6 +56,7 @@ cinder.tests.unit.test_dellsc
|
||||
cinder.tests.unit.test_dellscapi
|
||||
cinder.tests.unit.test_dothill
|
||||
cinder.tests.unit.test_drbdmanagedrv
|
||||
cinder.tests.unit.test_emc_vmax
|
||||
cinder.tests.unit.test_emc_vnxdirect
|
||||
cinder.tests.unit.test_emc_xtremio
|
||||
cinder.tests.unit.test_eqlx
|
||||
|
Loading…
x
Reference in New Issue
Block a user