> + new Function<NodeMetadata, ListenableFuture<? extends
> NodeMetadata>>() {
> +
> + // TODO make an async interface instead of
> re-wrapping
> + @Override
> + public ListenableFuture<NodeMetadata>
> apply(final NodeMetadata from) {
> + return userExecutor.submit(new
> Callable<NodeMetadata>() {
> + public NodeMetadata call()
> throws Exception {
> + resumeNode(from.getId());
> + return from;
> + }
> + public String toString() {
> + return "resumeNode(" +
> from.getId() + ")";
> + }
> + });
> + }
> +
Please fix indenting and rename the set to `resumedNodes`
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds/pull/419/files#r14141461