> +            .build();
> +   }
> +
> +   protected Hardware findHardwareWithId(Set<? extends Hardware> 
> hardwaresToSearch) {
> +      try {
> +            return super.findHardwareWithId(hardwaresToSearch);
> +      } catch (NoSuchElementException ex) {
> +            if (isAutomaticId(hardwareId)) {
> +               AutomaticHardwareIdSpec spec = parseId(hardwareId);
> +               return automaticHardwareForCpuAndRam(spec.getCores(), 
> spec.getRam());
> +            }
> +            else {
> +               throw ex;
> +            }
> +        }
> +    }

[minor] Indenting in the above section is off?

---
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds/pull/984/files/55c696c2ba870e202cfb8e42734e66bb31aab7b4#r73571087

Reply via email to