summaryrefslogtreecommitdiffstats
path: root/nova/compute
diff options
context:
space:
mode:
authorVishvananda Ishaya <vishvananda@gmail.com>2012-10-31 21:33:50 +0000
committerVishvananda Ishaya <vishvananda@gmail.com>2012-10-31 23:40:13 +0000
commitef0726425c52784ade6aa26a8cd3f01729dc59c5 (patch)
tree11774eff0e2d5f330480c4e81a06c8864680f7cc /nova/compute
parent529f09aa1a0f50c06837a103bb979683b2be0134 (diff)
Fix copy-paste bug in block_device_info_generation
Change-Id: If45a20d9e7cc0c332e3a3df1eaf22457f505acea
Diffstat (limited to 'nova/compute')
-rw-r--r--nova/compute/api.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/nova/compute/api.py b/nova/compute/api.py
index 601b75e86..9e5971862 100644
--- a/nova/compute/api.py
+++ b/nova/compute/api.py
@@ -1419,7 +1419,7 @@ class API(base.Base):
if cinfo and 'serial' not in cinfo:
cinfo['serial'] = bdm['volume_id']
bdmap = {'connection_info': cinfo,
- 'mount_device': bdm['volume_id'],
+ 'mount_device': bdm['device_name'],
'delete_on_termination': bdm['delete_on_termination']}
block_device_mapping.append(bdmap)
except TypeError: