cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jbel...@apache.org
Subject [2/4] git commit: Storage Proxy should register instance not new instance patch by Ed Capriolo; reviewed by jbellis for CASSANDRA-6856
Date Fri, 14 Mar 2014 19:27:39 GMT
Storage Proxy should register instance not new instance
patch by Ed Capriolo; reviewed by jbellis for CASSANDRA-6856


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

Branch: refs/heads/trunk
Commit: fcd9a377ee102d97479193f2d975b33875e51373
Parents: 9db5807
Author: Edward Capriolo <edlinuxguru@gmail.com>
Authored: Fri Mar 14 10:40:20 2014 -0400
Committer: Jonathan Ellis <jbellis@apache.org>
Committed: Fri Mar 14 14:27:06 2014 -0500

----------------------------------------------------------------------
 src/java/org/apache/cassandra/service/StorageProxy.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cassandra/blob/fcd9a377/src/java/org/apache/cassandra/service/StorageProxy.java
----------------------------------------------------------------------
diff --git a/src/java/org/apache/cassandra/service/StorageProxy.java b/src/java/org/apache/cassandra/service/StorageProxy.java
index 22f050b..c78d020 100644
--- a/src/java/org/apache/cassandra/service/StorageProxy.java
+++ b/src/java/org/apache/cassandra/service/StorageProxy.java
@@ -102,7 +102,7 @@ public class StorageProxy implements StorageProxyMBean
         MBeanServer mbs = ManagementFactory.getPlatformMBeanServer();
         try
         {
-            mbs.registerMBean(new StorageProxy(), new ObjectName(MBEAN_NAME));
+            mbs.registerMBean(instance, new ObjectName(MBEAN_NAME));
         }
         catch (Exception e)
         {


Mime
View raw message