> } > - }, null); > + }); > + if (image.isPresent()) return image.get(); > + > + // Image is not cached or getting image by name so try to pull it > + // > + > api.getImageApi().createImage(CreateImageOptions.Builder.fromImage(imageIdOrName));
Sorry - for some reason I'd confused myself and decided that would work when the api docs make it clear that won't - I'll change and remove the unused imports that I seem to have left in. --- 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-labs/pull/290/files/1ca33ee6cbfacb6a25cb332c32a4c46550161404#r67713729
