Browse Source

Fixing a typo in the health info API master stability code (#89970)

The log message now prints the node name.
Keith Massey 3 years ago
parent
commit
2c52612909

+ 1 - 1
server/src/main/java/org/elasticsearch/cluster/coordination/CoordinationDiagnosticsService.java

@@ -1116,7 +1116,7 @@ public class CoordinationDiagnosticsService implements ClusterStateListener {
                 );
             }
         }, e -> {
-            logger.warn("Exception connecting to master masterEligibleNode", e);
+            logger.warn("Exception connecting to master " + masterEligibleNode, e);
             responseConsumer.accept(responseTransformationFunction.apply(null, e));
         });