diff --git a/src/main/java/org/elasticsearch/discovery/zen/ZenDiscovery.java b/src/main/java/org/elasticsearch/discovery/zen/ZenDiscovery.java index 90c3359ac5d..e300d59d948 100644 --- a/src/main/java/org/elasticsearch/discovery/zen/ZenDiscovery.java +++ b/src/main/java/org/elasticsearch/discovery/zen/ZenDiscovery.java @@ -287,7 +287,7 @@ public class ZenDiscovery extends AbstractLifecycleComponent implemen public void run() { currentJoinThread = Thread.currentThread(); try { - innterJoinCluster(); + innerJoinCluster(); } finally { currentJoinThread = null; } @@ -295,7 +295,7 @@ public class ZenDiscovery extends AbstractLifecycleComponent implemen }); } - private void innterJoinCluster() { + private void innerJoinCluster() { boolean retry = true; while (retry) { if (lifecycle.stoppedOrClosed()) {