浏览代码

Fix trace logging statement in ZenDiscovery

Jason Tedor 9 年之前
父节点
当前提交
d0c03b26f6
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      core/src/main/java/org/elasticsearch/discovery/zen/ZenDiscovery.java

+ 1 - 1
core/src/main/java/org/elasticsearch/discovery/zen/ZenDiscovery.java

@@ -910,7 +910,7 @@ public class ZenDiscovery extends AbstractLifecycleComponent<Discovery> implemen
             activeNodes.add(localNode);
             activeNodes.add(localNode);
             long joinsCounter = clusterJoinsCounter.get();
             long joinsCounter = clusterJoinsCounter.get();
             if (joinsCounter > 0) {
             if (joinsCounter > 0) {
-                logger.trace("adding local node to the list of active nodes who has previously joined the cluster (joins counter is [{}})", joinsCounter);
+                logger.trace("adding local node to the list of active nodes that have previously joined the cluster (joins counter is [{}])", joinsCounter);
                 joinedOnceActiveNodes.add(localNode);
                 joinedOnceActiveNodes.add(localNode);
             }
             }
         }
         }