Github user aledsage commented on a diff in the pull request:

    https://github.com/apache/incubator-brooklyn/pull/650#discussion_r30683870
  
    --- Diff: 
locations/jclouds/src/main/java/brooklyn/location/jclouds/JcloudsLocation.java 
---
    @@ -712,80 +737,105 @@ protected JcloudsSshMachineLocation 
obtainOnce(ConfigBag setup) throws NoMachine
                     List<String> setupScripts = 
setup.get(JcloudsLocationConfig.CUSTOM_MACHINE_SETUP_SCRIPT_URL_LIST);
                     Collection<String> allScripts = new 
MutableList<String>().appendIfNotNull(setupScript).appendAll(setupScripts);
                     for (String setupScriptItem : allScripts) {
    -                    if (Strings.isNonBlank(setupScriptItem)) {
    -                        customisationForLogging.add("custom setup script 
"+setupScriptItem);
    +                    if (Strings.isNonBlank(setupScript)) {
    --- End diff --
    
    Why change this to `setupScript`, rather than `setupScriptItem`? See the 
for loop above.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to