brooklyn-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From grk...@apache.org
Subject [3/5] git commit: Fixes Riak cluster startup
Date Thu, 04 Sep 2014 13:56:08 GMT
Fixes Riak cluster startup


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

Branch: refs/heads/master
Commit: 4fe224b84428592f03a87bcbfba04bafc622a0df
Parents: 61ffb20
Author: Martin Harris <github@nakomis.com>
Authored: Wed Sep 3 14:51:57 2014 +0100
Committer: Martin Harris <github@nakomis.com>
Committed: Wed Sep 3 15:28:56 2014 +0100

----------------------------------------------------------------------
 .../src/main/java/brooklyn/entity/nosql/riak/RiakNodeImpl.java     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/blob/4fe224b8/software/nosql/src/main/java/brooklyn/entity/nosql/riak/RiakNodeImpl.java
----------------------------------------------------------------------
diff --git a/software/nosql/src/main/java/brooklyn/entity/nosql/riak/RiakNodeImpl.java b/software/nosql/src/main/java/brooklyn/entity/nosql/riak/RiakNodeImpl.java
index 81777a3..b880c42 100644
--- a/software/nosql/src/main/java/brooklyn/entity/nosql/riak/RiakNodeImpl.java
+++ b/software/nosql/src/main/java/brooklyn/entity/nosql/riak/RiakNodeImpl.java
@@ -176,7 +176,7 @@ public class RiakNodeImpl extends SoftwareProcessImpl implements RiakNode
{
 
     @Override
     public boolean hasJoinedCluster() {
-        return Boolean.TRUE.equals(RiakNode.RIAK_NODE_HAS_JOINED_CLUSTER);
+        return Boolean.TRUE.equals(getAttribute(RiakNode.RIAK_NODE_HAS_JOINED_CLUSTER));
     }
 
     @Override


Mime
View raw message