> +
> + @Override
> + public boolean apply(Image input) {
> + String toParse = input.getUserMetadata().get("size");
> + return toParse != null && new Float(toParse) <= size;
> + }
> +
> + @Override
> + public String toString() {
> + return "sizeLessThanOrEqual(" + size + ")";
> + }
> +
> + }).ids(id).ram(ram).processors(ImmutableList.of(new Processor(1,
> cpu))).hypervisor("kvm")
> + .volumes(ImmutableList.<Volume>of(new VolumeImpl(size,
> true, true))).build());
> + }
> + return hardware.build();
Ok, we'll review it once we finish other required issues.
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs/pull/12/files#r5289905