> @@ -127,4 +127,45 @@ public Statement apply(String group) {
>              createFirstBoot, runChef);
>     }
>  
> +    public Statement apply(String group, String nodeName) {

Instead of providing a new function with most of the code duplicated, I'd 
simply add the `nodeName` parameter, annotated as `@Nullable`, to the existing 
one, and remove the `implements Function<String, Statement>` from its 
declaration. That it not used, as we are injecting directly the 
`GroupToBootScript` type, so you should be able to remove it without issues.

---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds/pull/622/files#r21201954

Reply via email to