>        Password pw = get(result.getOperatingSystem().getPasswords(), 0);
>        return new NodeAndInitialCredentials<VirtualGuest>(result, 
> result.getId() + "", 
> LoginCredentials.builder().user(pw.getUsername()).password(
>              pw.getPassword()).build());
>     }
>  
> -   private Iterable<ProductItemPrice> getPrices(Template template) {
> -      Builder<ProductItemPrice> result = ImmutableSet.builder();
> +   private Set<VirtualGuestBlockDevice> getBlockDevices(List<Integer> 
> blockDeviceCapacities) {
> +      Set<VirtualGuestBlockDevice> blockDevices = Sets.newHashSet();
> +      int devicePosition = 0;
> +      for (int i = 0; i < blockDeviceCapacities.size(); i++) {
> +         if (i > 0) { devicePosition = i + 1; }

This will lead to `devicePosition` being `0, 2, 3, 4...`. Is there a reason why 
1 can't be used?

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

Reply via email to