From 3a61b143b416a3045c88833b66253a3b591b6a08 Mon Sep 17 00:00:00 2001 From: danikov Date: Fri, 27 Apr 2012 14:39:30 +0100 Subject: [PATCH] fix default behaviour --- .../VCloudHardwareBuilderFromResourceAllocations.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/labs/vcloud-director/src/main/java/org/jclouds/vcloud/director/v1_5/compute/functions/VCloudHardwareBuilderFromResourceAllocations.java b/labs/vcloud-director/src/main/java/org/jclouds/vcloud/director/v1_5/compute/functions/VCloudHardwareBuilderFromResourceAllocations.java index 8bbd8179c5..133af532e2 100644 --- a/labs/vcloud-director/src/main/java/org/jclouds/vcloud/director/v1_5/compute/functions/VCloudHardwareBuilderFromResourceAllocations.java +++ b/labs/vcloud-director/src/main/java/org/jclouds/vcloud/director/v1_5/compute/functions/VCloudHardwareBuilderFromResourceAllocations.java @@ -37,8 +37,7 @@ public class VCloudHardwareBuilderFromResourceAllocations extends HardwareBuilde // return new VolumeImpl(from.getAddressOnParent() + "", Volume.Type.LOCAL, vDisk.getCapacity() / 1024f, null, // "0".equals(from.getAddressOnParent()), true); // } else { -// return super.apply(from); + return super.apply(from); // } - return null; } } \ No newline at end of file