Pārlūkot izejas kodu

Revert "Restore lost Node#start no-op check"

This reverts commit ddfa3a661510f25c2ce431dfd6fb86ac11eb8888.
Jason Tedor 9 gadi atpakaļ
vecāks
revīzija
f87c599ff1
1 mainītis faili ar 0 papildinājumiem un 3 dzēšanām
  1. 0 3
      core/src/main/java/org/elasticsearch/node/Node.java

+ 0 - 3
core/src/main/java/org/elasticsearch/node/Node.java

@@ -379,9 +379,6 @@ public class Node implements Closeable {
     }
 
     private Node stop() {
-        if (lifecycle.moveToStarted()) {
-            return this;
-        }
         if (!lifecycle.moveToStopped()) {
             return this;
         }