@elastic/elasticsearch 7.17.12 → 7.17.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -206,6 +206,10 @@ class BaseConnectionPool {
|
|
|
206
206
|
|
|
207
207
|
for (let i = 0, len = ids.length; i < len; i++) {
|
|
208
208
|
const node = nodes[ids[i]]
|
|
209
|
+
|
|
210
|
+
// newly-added nodes do not have http assigned yet, so skip
|
|
211
|
+
if (node.http === undefined) continue
|
|
212
|
+
|
|
209
213
|
// If there is no protocol in
|
|
210
214
|
// the `publish_address` new URL will throw
|
|
211
215
|
// the publish_address can have two forms:
|
package/package.json
CHANGED
|
@@ -12,8 +12,8 @@
|
|
|
12
12
|
"./*": "./*.js"
|
|
13
13
|
},
|
|
14
14
|
"homepage": "http://www.elastic.co/guide/en/elasticsearch/client/javascript-api/current/index.html",
|
|
15
|
-
"version": "7.17.
|
|
16
|
-
"versionCanary": "7.17.
|
|
15
|
+
"version": "7.17.13",
|
|
16
|
+
"versionCanary": "7.17.13-canary.1",
|
|
17
17
|
"keywords": [
|
|
18
18
|
"elasticsearch",
|
|
19
19
|
"elastic",
|