mirror of
https://github.com/xcp-ng/xenadmin.git
synced 2025-01-20 23:39:51 +01:00
Increased precision in displaying progress of transferred disk data.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
This commit is contained in:
parent
719d6b5e45
commit
2469c947c9
@ -178,7 +178,7 @@ namespace XenAdmin.Actions.OvfActions
|
||||
HTTP_actions.get_export_raw_vdi(b =>
|
||||
{
|
||||
Description = string.Format(Messages.EXPORTING_VDI, diskName, diskFilename,
|
||||
Util.DiskSizeString(b, 1, "F1"), Util.DiskSizeString(vdi.virtual_size));
|
||||
Util.DiskSizeString(b, 2, "F2"), Util.DiskSizeString(vdi.virtual_size));
|
||||
updatePercentage((curVbd + (float)b / vdi.virtual_size) / vbdRefs.Count);
|
||||
},
|
||||
() => Cancelling, XenAdminConfigManager.Provider.GetProxyTimeout(true),
|
||||
|
@ -424,7 +424,7 @@ namespace XenAdmin.Actions.OvfActions
|
||||
b =>
|
||||
{
|
||||
Description = string.Format(Messages.IMPORT_VDI, filename,
|
||||
Util.DiskSizeString(b, 1, "F1"), Util.DiskSizeString(dataCapacity));
|
||||
Util.DiskSizeString(b, 2, "F2"), Util.DiskSizeString(dataCapacity));
|
||||
|
||||
updatePercentage((float)b / dataCapacity);
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user