Merge pull request elastic/elasticsearch#2969 from danielmitterdorfer/fix-interruption
Restore interruption flag correctly in life cycle service Original commit: elastic/x-pack-elasticsearch@fe73226e47
This commit is contained in:
commit
196f74984c
|
@ -207,7 +207,7 @@ public class WatcherLifeCycleService extends AbstractComponent implements Cluste
|
|||
try {
|
||||
latch.await();
|
||||
} catch (InterruptedException e) {
|
||||
Thread.interrupted();
|
||||
Thread.currentThread().interrupt();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue