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:
Walter A. Boring IV 2014-01-29 15:53:53 -08:00
parent 617f296967
commit dc4655a5ae
1 changed files with 1 additions and 1 deletions

View File

@ -1075,7 +1075,7 @@ exit
fc_paths = host['FCPaths']
for fc in fc_paths:
for wwn in wwns:
if wwn == fc['WWN']:
if wwn == fc['wwn']:
return host['name']
def terminate_connection(self, volume, hostname, wwn=None, iqn=None):