> @@ -129,6 +139,21 @@ public 
> GoogleComputeEngineServiceAdapter(GoogleComputeEngineApi api,
>        Hardware hardware = checkNotNull(template.getHardware(), "hardware 
> must be set");
>  
>        checkNotNull(hardware.getUri(), "hardware must have a URI");
> +      checkNotNull(template.getImage().getUri(), "image URI is null");
> +
> +      Set<PersistentDisk> disks = Sets.newLinkedHashSet();

Ah, no, it's not that it needs to be sorted, it's that it needs to be *ordered* 
- i.e., the order matters, but it's not supposed to be sorted by some field.

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

Reply via email to