You are viewing a plain text version of this content. The canonical link for it is here.
Posted to pr@cassandra.apache.org by GitBox <gi...@apache.org> on 2023/01/05 22:31:53 UTC

[GitHub] [cassandra] pauloricardomg commented on a diff in pull request #2060: [CASSANDRA-11537] Friendly error message when nodetool is used on uninitialized Cassandra node

pauloricardomg commented on code in PR #2060:
URL: https://github.com/apache/cassandra/pull/2060#discussion_r1062950989


##########
src/java/org/apache/cassandra/tools/NodeProbe.java:
##########
@@ -290,6 +290,9 @@ protected void connect() throws IOException
                 ManagementFactory.MEMORY_MXBEAN_NAME, MemoryMXBean.class);
         runtimeProxy = ManagementFactory.newPlatformMXBeanProxy(
                 mbeanServerConn, ManagementFactory.RUNTIME_MXBEAN_NAME, RuntimeMXBean.class);
+        if (!isInitialized()) {

Review Comment:
   please add braces after newline



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: pr-unsubscribe@cassandra.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: pr-unsubscribe@cassandra.apache.org
For additional commands, e-mail: pr-help@cassandra.apache.org