Show ID for None display name in boot from volume
Fixes bug 1199206. Change-Id: I5bdbf04d6de1f9d53fa84fad6b7ebae1eb13798a
This commit is contained in:
parent
46ebda3d5d
commit
5212992100
@ -115,7 +115,7 @@ class VolumeOptionsAction(workflows.Action):
|
|||||||
visible_label = _("Volume")
|
visible_label = _("Volume")
|
||||||
return (("%s:%s" % (volume.id, vol_type)),
|
return (("%s:%s" % (volume.id, vol_type)),
|
||||||
(_("%(name)s - %(size)s GB (%(label)s)") %
|
(_("%(name)s - %(size)s GB (%(label)s)") %
|
||||||
{'name': volume.display_name,
|
{'name': volume.display_name or volume.id,
|
||||||
'size': volume.size,
|
'size': volume.size,
|
||||||
'label': visible_label}))
|
'label': visible_label}))
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user