OSDir


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GitHub] brooklyn-server pull request #953: Defers reading of config in SshCommandSen...


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

    https://github.com/apache/brooklyn-server/pull/953#discussion_r183000496
  
    --- Diff: core/src/main/java/org/apache/brooklyn/core/sensor/ssh/SshCommandSensor.java ---
    @@ -105,6 +97,7 @@ public void apply(final EntityLocal entity) {
                     Map<String, Object> env = MutableMap.copyOf(entity.getConfig(BrooklynConfigKeys.SHELL_ENVIRONMENT));
     
                     // Add the shell environment entries from our configuration
    +                Map<String,Object> sensorEnv = params.get(SENSOR_SHELL_ENVIRONMENT);
    --- End diff --
    
    Ignore this comment; later in the code it calls `Tasks.resolveDeepValue(env, ...)`


---