> +
> +   @Override
> +   public Image getImage(String id) {
> +      return api.getImageApi().get(Integer.parseInt(id));
> +   }
> +
> +   @Override
> +   public Droplet getNode(String id) {
> +      return api.getDropletApi().get(Integer.valueOf(id));
> +   }
> +
> +   @Override
> +   public void destroyNode(String id) {
> +      // We have to wait here, as the api does not properly populate the 
> state
> +      // but fails if there is a pending event
> +      int event = api.getDropletApi().destroy(Integer.valueOf(id), true);

`id` will always be numeric?

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

Reply via email to