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

    https://github.com/apache/brooklyn-server/pull/953#discussion_r182983127
  
    --- 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 --
    
    We should probably also do `EntityInitializers.resolve` when retrieving the 
env.


---

Reply via email to