Fixes incorrect key in dictionary
This is a corner case for the 3PAR driver. The dictionary has a key of 'wwn', not 'WWN'. Change-Id: Id16a54f14d195a7297ab8db8fc8e2642955338e6 Closes-Bug: #1274334
This commit is contained in:
parent
617f296967
commit
dc4655a5ae
|
@ -1075,7 +1075,7 @@ exit
|
||||||
fc_paths = host['FCPaths']
|
fc_paths = host['FCPaths']
|
||||||
for fc in fc_paths:
|
for fc in fc_paths:
|
||||||
for wwn in wwns:
|
for wwn in wwns:
|
||||||
if wwn == fc['WWN']:
|
if wwn == fc['wwn']:
|
||||||
return host['name']
|
return host['name']
|
||||||
|
|
||||||
def terminate_connection(self, volume, hostname, wwn=None, iqn=None):
|
def terminate_connection(self, volume, hostname, wwn=None, iqn=None):
|
||||||
|
|
Loading…
Reference in New Issue