> +@Singleton
> +public class VirtualGuestToImage implements Function<VirtualGuest, Image> {
> +
> +   private static final String CENTOS = "CENTOS";
> +   private static final String DEBIAN = "DEBIAN";
> +   private static final String RHEL = "REDHAT";
> +   private static final String UBUNTU = "UBUNTU";
> +   private static final String WINDOWS = "WIN_";
> +   private static final String CLOUD_LINUX = "CLOUDLINUX";
> +   private static final String VYATTACE = "VYATTACE";
> +
> +   @Resource
> +   @Named(ComputeServiceConstants.COMPUTE_LOGGER)
> +   protected Logger logger = Logger.NULL;
> +
> +   public static Function<String, OsFamily> osFamily() {

Can we remove this function and reuse the one in the `OperatingSystemToImage` 
class?

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

Reply via email to