From fb8b895a0a326bca532f2c0614eaa89c8b96b1b1 Mon Sep 17 00:00:00 2001 From: will Date: Tue, 8 Feb 2011 15:37:03 -0800 Subject: [PATCH] Fixed UI to display the disk size of a disk offering as-is rather than converting from MB to GB --- ui/scripts/cloud.core.diskoffering.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/scripts/cloud.core.diskoffering.js b/ui/scripts/cloud.core.diskoffering.js index 538214a171c..e681199d485 100644 --- a/ui/scripts/cloud.core.diskoffering.js +++ b/ui/scripts/cloud.core.diskoffering.js @@ -315,7 +315,7 @@ function diskofferingGetDiskSize(jsonObj) { if(jsonObj.disksize == 0 && jsonObj.isCustomized == true) diskSize = "custom size (during VM creation or volume creation)"; else - diskSize = convertBytes(jsonObj.disksize * 1024 * 1024); //unit of jsonObj.disksize is MB. + diskSize = jsonObj.disksize + " GB"; return diskSize; }