diff options
| author | Ben Swartzlander <bswartz@netapp.com> | 2012-09-24 12:34:16 -0400 |
|---|---|---|
| committer | Ben Swartzlander <bswartz@netapp.com> | 2012-09-24 12:34:16 -0400 |
| commit | e576eb31684e66dee792e334024d68bb63cba024 (patch) | |
| tree | e8440a7e961ee719c7ffb303bc6efa661e22a220 /nova | |
| parent | 301cb6869d315e69f3e9d799abc05e5d4af6da6c (diff) | |
| download | nova-e576eb31684e66dee792e334024d68bb63cba024.tar.gz nova-e576eb31684e66dee792e334024d68bb63cba024.tar.xz nova-e576eb31684e66dee792e334024d68bb63cba024.zip | |
Fix NetAppCmodeISCSIDriver._get_lun_handle() method
bug 1055578
Change-Id: I06da6a9a59fa2320f1cae9698e5e63562e534916
Diffstat (limited to 'nova')
| -rw-r--r-- | nova/volume/netapp.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nova/volume/netapp.py b/nova/volume/netapp.py index 54cf6a62f..b1b3915ab 100644 --- a/nova/volume/netapp.py +++ b/nova/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.""" |
