Skip to content

Commit

Permalink
Swap VDI now uses correct name label.
Browse files Browse the repository at this point in the history
Fixes bug 1018596

Change-Id: I788a762e3d3362c04c7d6986808d13f77d9c5a5e
  • Loading branch information
rconradharris committed Jun 27, 2012
1 parent 8f1ecc8 commit a590d08
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nova/virt/xenapi/vm_utils.py
Expand Up @@ -322,7 +322,7 @@ def create_vdi(session, sr_ref, info, disk_type, virtual_size,
# hence information about instance may or may not be present
otherconf = {}
if not isinstance(info, basestring):
name_label = info['display_name']
name_label = info['name']
otherconf = {'nova_instance_uuid': info['uuid'],
'nova_disk_type': disk_type}
else:
Expand Down

0 comments on commit a590d08

Please sign in to comment.