The size of VM state files and the size of unused disks not
referenced by any snapshot is not saved in the VM configuration,
so it's not available here either.
Signed-off-by: Fabian Ebner <f.ebner@proxmox.com>
});
}
} else {
+ var size_string = disk.size ? '(' + PVE.Utils.render_size(disk.size) + ')' : '';
migration['with-local-disks'] = 1;
migration.preconditions.push({
- text:'Migration with local disk might take long: ' + disk.volid
- +' (' + PVE.Utils.render_size(disk.size) + ')',
+ text: Ext.String.format('Migration with local disk might take long: {0} {1}',
+ disk.volid, size_string),
severity: 'warning'
});
}