> for (String zoneId : zones) {
> ServerApi serverApi = api.getServerApiForZone(zoneId);
> + Optional<? extends AvailabilityZoneAPI> azApi =
> api.getAvailabilityZoneApi(zoneId);
> + availabilityZone = azApi.isPresent() ?
> azApi.get().list().last().get().getName() : "nova";
Any reason why this pattern is different to the one used above, where we needed
`Iterables.getLast`? And same question: any reason for picking the _last_ one
here?
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds/pull/392/files#r13737410