]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Fix Fibre Channel attach for single WWN
authorAvishay Traeger <avishay@il.ibm.com>
Tue, 20 Aug 2013 15:53:47 +0000 (18:53 +0300)
committerAvishay Traeger <avishay@il.ibm.com>
Tue, 20 Aug 2013 15:53:47 +0000 (18:53 +0300)
commit8bd26071418c26ccaa40423b75750fa3bab1fa22
treeb1cb2d2b726a6a502925c1a12f3a9398aec9a639
parenta75901c65d16126da09bcfc94e8d5512c6a92b17
Fix Fibre Channel attach for single WWN

The code allowed for only a string of the WWN or a list of them.
Unfortunately unicode is also returned, for which the attach fails.
This patch allows for unicode as well.

Change-Id: I4d2809b41b24b2240e447a5c09f14e6438304cd6
Fixes: bug 1214413
cinder/brick/initiator/connector.py
cinder/tests/brick/test_brick_connector.py