From 8b05fd26e0c334820a49e55421f59a5ee37e161d Mon Sep 17 00:00:00 2001 From: Adrian Cole Date: Tue, 31 Aug 2010 12:29:20 -0700 Subject: [PATCH] Issue 290: fixed extra output --- .../org/jclouds/vcloud/compute/functions/GetExtraFromVApp.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vcloud/core/src/main/java/org/jclouds/vcloud/compute/functions/GetExtraFromVApp.java b/vcloud/core/src/main/java/org/jclouds/vcloud/compute/functions/GetExtraFromVApp.java index ec56cf9d06..324128d06f 100644 --- a/vcloud/core/src/main/java/org/jclouds/vcloud/compute/functions/GetExtraFromVApp.java +++ b/vcloud/core/src/main/java/org/jclouds/vcloud/compute/functions/GetExtraFromVApp.java @@ -68,7 +68,7 @@ public class GetExtraFromVApp implements Function> { resourceType(ResourceType.DISK_DRIVE))) { if (disk instanceof VCloudHardDisk) { VCloudHardDisk vDisk = VCloudHardDisk.class.cast(disk); - extra.put(String.format("disk_drive/%s/kb", disk.getAddressOnParent()), vDisk.getCapacity() + ""); + extra.put(String.format("disk_drive/%s/mb", disk.getAddressOnParent()), vDisk.getCapacity() + ""); } else { extra.put(String.format("disk_drive/%s/kb", disk.getAddressOnParent()), disk.getVirtualQuantity() + ""); }