Issue 290: fixed extra output

This commit is contained in:
Adrian Cole 2010-08-31 12:29:20 -07:00
parent 3f19db9cc5
commit 8b05fd26e0
1 changed files with 1 additions and 1 deletions

View File

@ -68,7 +68,7 @@ public class GetExtraFromVApp implements Function<VApp, Map<String, String>> {
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() + "");
}