Good catch on the "if" statements. As far as the Functions.compose is concerned: seems like we would lose the ListenableFuture, that method createNodeInGroupWithNameAndTemplate returns, if we go the Functions.compose route instead of Futures.transfrom?
--- Reply to this email directly or view it on GitHub: https://github.com/jclouds/jclouds/pull/425#issuecomment-48209442