> +      }
> +
> +      // DigitalOcean specific options
> +      if (!templateOptions.getSshKeyIds().isEmpty()) {
> +         options.addSshKeyIds(templateOptions.getSshKeyIds());
> +      }
> +      if (templateOptions.getPrivateNetworking() != null) {
> +         options.privateNetworking(templateOptions.getPrivateNetworking());
> +      }
> +      if (templateOptions.getBackupsEnabled() != null) {
> +         options.backupsEnabled(templateOptions.getBackupsEnabled());
> +      }
> +
> +      // Find the location where the Droplet has to be created
> +      final String locationId = template.getLocation().getId();
> +      Region region = Iterables.find(api.getRegionApi().list(), new 
> Predicate<Region>() {

[minor] static import Iterables.find? And OK if this blows up if the region 
cannot be found?

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

Reply via email to