> + return image.get();
> + // TODO: get rid of the expectation that the image will be
> available, as it is very brittle
> + throw new UncheckedTimeoutException("Image was not created
> within the time limit: " + image.get());
> + }
> + });
> + }
> +
> + @Override
> + public boolean deleteImage(String id) {
> + try {
> + AsyncCreateResponse deleteJob =
> client.getTemplateClient().deleteTemplate(id);
> + boolean deleteComplete = jobComplete.apply(deleteJob.getJobId());
> + } catch (Exception e) {
> + return false;
> + }
> + return true;
Okiedokie.
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds/pull/43/files#r4848260