> + this.resources = resources;
> + }
> +
> + @Override
> + public Subnetwork load(URI key) throws ExecutionException {
> + try {
> + return resources.subnetwork(key);
> + } catch (Exception e) {
> + throw new ExecutionException(message(key, e), e);
> + }
> + }
> +
> + public static String message(URI key, Exception e) {
> + return String.format("could not find image for disk %s: %s",
> key.toString(), e.getMessage());
> + }
> +}
Looking in more detail, it looks like this cache is not used. Better remove it.
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds/pull/1006/files/0c51ed39650e9cab341136716a9d9732c63f7dd0#r78044468