diff --git a/vcloud/core/src/main/java/org/jclouds/vcloud/compute/functions/ImageForVCloudExpressVAppTemplate.java b/vcloud/core/src/main/java/org/jclouds/vcloud/compute/functions/ImageForVCloudExpressVAppTemplate.java index 0e48c92635..5b46b5a49d 100644 --- a/vcloud/core/src/main/java/org/jclouds/vcloud/compute/functions/ImageForVCloudExpressVAppTemplate.java +++ b/vcloud/core/src/main/java/org/jclouds/vcloud/compute/functions/ImageForVCloudExpressVAppTemplate.java @@ -58,7 +58,7 @@ public class ImageForVCloudExpressVAppTemplate implements Function of(), os, desc, "", credentialsProvider.execute(from)); + return new VCloudExpressImage(from, from.getHref().toASCIIString(), name, from.getHref().toASCIIString(), + location, from.getHref(), ImmutableMap. of(), os, desc, "", credentialsProvider + .execute(from)); } protected String getName(String name) {