> + .createWithoutPrefix();
> + this.credentialStore = checkNotNull(credentialStore, "credentialStore
> cannot be null");
> + }
> +
> + @Override
> + public NodeMetadata apply(Droplet input) {
> + NodeMetadataBuilder builder = new NodeMetadataBuilder();
> + builder.ids(String.valueOf(input.getId()));
> + builder.name(input.getName());
> + builder.hostname(input.getName());
> + builder.group(groupNamingConvention.extractGroup(input.getName()));
> +
> +
> builder.hardware(hardwares.get().get(String.valueOf(input.getSizeId())));
> +
> + final String regionIdPattern = input.getRegionId() + "/";
> + builder.location(find(locations.get(), new Predicate<Location>() {
That can't happen. The `RegionToLocation`, which transforms a DigitalOcean
region into a jclouds Location takes care of using the convention. At this
point the regionId (and thus the location) will always exist.
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs/pull/49/files#r9170991