>     protected String imageIdForZone(String zoneId) {
>        ImageApi imageApi = api.getImageApiForZone(zoneId);
> -      return Iterables.getLast(imageApi.list().concat()).getId();
> +      return Iterables.getFirst(imageApi.list().concat(), null).getId();

Intended change in functionality here? And wouldn't the default value `null` 
that's being passed here immediately cause an NPE?

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

Reply via email to