From ce60315aaeed74d6d0ee64c825c4c2b4739064cc Mon Sep 17 00:00:00 2001 From: Ben Swartzlander Date: Mon, 24 Sep 2012 12:30:48 -0400 Subject: [PATCH] Fix NetAppCmodeISCSIDriver._get_lun_handle() method bug 1055578 Change-Id: I06da6a9a59fa2320f1cae9698e5e63562e534916 (cherry picked from commit b2627b27dae521d719b90831dcc41695b389712f) --- cinder/volume/netapp.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cinder/volume/netapp.py b/cinder/volume/netapp.py index 46a3a7809..b1a6c1d1b 100644 --- a/cinder/volume/netapp.py +++ b/cinder/volume/netapp.py @@ -1279,7 +1279,7 @@ class NetAppCmodeISCSIDriver(driver.ISCSIDriver): if not name in self.lun_table: LOG.warn(_("Could not find handle for LUN named %s") % name) return None - return self.lun_table[name] + return self.lun_table[name].handle def _create_dict_from_meta(self, metadata): """Creates dictionary from metadata array.""" -- 2.45.2