> +import org.jclouds.compute.domain.ImageBuilder;
> +import org.jclouds.compute.domain.OperatingSystem;
> +import org.jclouds.compute.domain.OsFamily;
> +import org.jclouds.profitbricks.domain.OSType;
> +
> +public class PBImageToImage implements 
> Function<org.jclouds.profitbricks.domain.image.Image, Image> {
> +
> +   @Override
> +   public Image apply(org.jclouds.profitbricks.domain.image.Image i) {
> +      checkNotNull(i);
> +
> +//        Location location = new LocationBuilder()
> +//                .id( null ) 
> +//                .description( i.getRegion().toString() )
> +//                .scope( LocationScope.REGION )
> +//                .build();

Is there a way to get the location from the image?

---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs/pull/72/files#r17229706

Reply via email to