Merge "Fix dictionary key error"
This commit is contained in:
commit
6c878775fb
@ -102,10 +102,11 @@ class HPE3PARISCSIDriver(driver.TransferVD,
|
|||||||
3.0.0 - Rebranded HP to HPE.
|
3.0.0 - Rebranded HP to HPE.
|
||||||
3.0.1 - Python 3 support
|
3.0.1 - Python 3 support
|
||||||
3.0.2 - Remove db access for consistency groups
|
3.0.2 - Remove db access for consistency groups
|
||||||
|
3.0.3 - Fix multipath dictionary key error. bug #1522062
|
||||||
|
|
||||||
"""
|
"""
|
||||||
|
|
||||||
VERSION = "3.0.2"
|
VERSION = "3.0.3"
|
||||||
|
|
||||||
def __init__(self, *args, **kwargs):
|
def __init__(self, *args, **kwargs):
|
||||||
super(HPE3PARISCSIDriver, self).__init__(*args, **kwargs)
|
super(HPE3PARISCSIDriver, self).__init__(*args, **kwargs)
|
||||||
@ -304,7 +305,7 @@ class HPE3PARISCSIDriver(driver.TransferVD,
|
|||||||
volume,
|
volume,
|
||||||
connector)
|
connector)
|
||||||
|
|
||||||
if connector['multipath']:
|
if connector.get('multipath'):
|
||||||
ready_ports = common.client.getiSCSIPorts(
|
ready_ports = common.client.getiSCSIPorts(
|
||||||
state=common.client.PORT_STATE_READY)
|
state=common.client.PORT_STATE_READY)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user