Merge "Storwize/SVC: Check wwpn not None"

This commit is contained in:
Jenkins 2014-02-11 21:44:47 +00:00 committed by Gerrit Code Review
commit 6b431ebdc1
1 changed files with 1 additions and 0 deletions

View File

@ -200,6 +200,7 @@ class StorwizeHelpers(object):
host_name = name
elif ('wwpns' in connector and
len(connector['wwpns']) and
wwpn and
wwpn.lower() in
[str(x).lower for x in connector['wwpns']]):
host_name = name