elasticsearch-drain 0.1.6 → 0.1.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/elasticsearch/drain/cli.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ddb24a115da8d28e85b533eb08c0afdc413c33f2
|
4
|
+
data.tar.gz: ba7d9220e6b60125116b790ecde69a58b8af54ab
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cac2041857bbdf807a36c816326d5f4a973948d5556370268bda9a943d8b17e4e1d0de58310bbc3d4e1856ee92eeb9cdc94870062ad3e78c45f45b7a5aa4ab56
|
7
|
+
data.tar.gz: 546f9b783a91f4b3c82266281cd82cbcd1634f09208cd258688dca3ccf6ca87244f91dcb98774e92232ef2c91c4fe36873c7ff6acb30395b26587eb16a4abb9e
|
@@ -155,7 +155,7 @@ module Elasticsearch
|
|
155
155
|
sleep sleep_time
|
156
156
|
else
|
157
157
|
next unless remove_node(instance)
|
158
|
-
deleted_nodes.push(nodes.select { |n| n.ipaddress == instance.ipaddress }
|
158
|
+
deleted_nodes.push(nodes.select { |n| n.ipaddress == instance.ipaddress })
|
159
159
|
nodes.delete_if { |n| n.ipaddress == instance.ipaddress }
|
160
160
|
break if nodes.length < 1
|
161
161
|
say_status 'Waiting', 'Sleeping for 1 minute before removing the next node', :green
|