> +            .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>() {

This is intended to blow up if such a location does not exist? Or can't happen?

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

Reply via email to