Skip to content

Commit

Permalink
Merge "Fix dictionary key error"
Browse files Browse the repository at this point in the history
  • Loading branch information
Jenkins authored and openstack-gerrit committed Dec 2, 2015
2 parents ca0bd0a + 9d32ad6 commit 6c87877
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions cinder/volume/drivers/hpe/hpe_3par_iscsi.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,10 +102,11 @@ class HPE3PARISCSIDriver(driver.TransferVD,
3.0.0 - Rebranded HP to HPE.
3.0.1 - Python 3 support
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):
super(HPE3PARISCSIDriver, self).__init__(*args, **kwargs)
Expand Down Expand Up @@ -304,7 +305,7 @@ def initialize_connection(self, volume, connector):
volume,
connector)

if connector['multipath']:
if connector.get('multipath'):
ready_ports = common.client.getiSCSIPorts(
state=common.client.PORT_STATE_READY)

Expand Down

0 comments on commit 6c87877

Please sign in to comment.