Repository: brooklyn-server
Updated Branches:
  refs/heads/master 36a29180d -> 797ed8f26


Localhost machine: don’t persist mutexSupport

By passing mutexSupport in the machine’s config, it is persisted. But
this tries to pull in persisting threads etc!

It is not necessary to pass it: the Localhost machine overrides the
getMutexSupport().

Project: http://git-wip-us.apache.org/repos/asf/brooklyn-server/repo
Commit: http://git-wip-us.apache.org/repos/asf/brooklyn-server/commit/f0b1bf8c
Tree: http://git-wip-us.apache.org/repos/asf/brooklyn-server/tree/f0b1bf8c
Diff: http://git-wip-us.apache.org/repos/asf/brooklyn-server/diff/f0b1bf8c

Branch: refs/heads/master
Commit: f0b1bf8cb832f4c000f3c9a7c43327ec5aabd82f
Parents: cf305e2
Author: Aled Sage <aled.s...@gmail.com>
Authored: Thu Mar 31 20:50:59 2016 +0100
Committer: Aled Sage <aled.s...@gmail.com>
Committed: Thu Mar 31 20:50:59 2016 +0100

----------------------------------------------------------------------
 .../location/localhost/LocalhostMachineProvisioningLocation.java    | 1 -
 1 file changed, 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/brooklyn-server/blob/f0b1bf8c/core/src/main/java/org/apache/brooklyn/location/localhost/LocalhostMachineProvisioningLocation.java
----------------------------------------------------------------------
diff --git 
a/core/src/main/java/org/apache/brooklyn/location/localhost/LocalhostMachineProvisioningLocation.java
 
b/core/src/main/java/org/apache/brooklyn/location/localhost/LocalhostMachineProvisioningLocation.java
index ab7ad01..fbdb769 100644
--- 
a/core/src/main/java/org/apache/brooklyn/location/localhost/LocalhostMachineProvisioningLocation.java
+++ 
b/core/src/main/java/org/apache/brooklyn/location/localhost/LocalhostMachineProvisioningLocation.java
@@ -176,7 +176,6 @@ public class LocalhostMachineProvisioningLocation extends 
FixedListMachineProvis
             Map<Object,Object> flags2 = MutableMap.<Object,Object>builder()
                     .putAll(flags)
                     .put("address", elvis(address, Networking.getLocalHost()))
-                    .put("mutexSupport", LocalhostMachine.mutexSupport)
                     .build();
             
             // copy inherited keys for ssh; 

Reply via email to