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

    https://github.com/apache/brooklyn-server/pull/151#discussion_r64442082
  
    --- Diff: 
core/src/main/java/org/apache/brooklyn/core/location/AbstractLocation.java ---
    @@ -459,7 +459,7 @@ public ConfigBag getLocalBag() {
     
             @Override
             public void addToLocalBag(Map<String, ?> vals) {
    -            configBag.putAll(vals);
    +            configBag = ConfigBag.newInstanceExtending(configBag, vals);
    --- End diff --
    
    The exact answer here is, that the properties are set twice in 
`FixedListMachineProvisioningLocation#obtain`
    1. when allflags is constructed and used in `provisionMore` call
    2. after that the configuration of the object is updated for a second time 
in `updateMachineConfig` call


---
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