File tree Expand file tree Collapse file tree 2 files changed +4
-6
lines changed Expand file tree Collapse file tree 2 files changed +4
-6
lines changed Original file line number Diff line number Diff line change 6
6
"hosts": "elasticsearch-node-0.mercury.dfinity.systems:443 elasticsearch-node-1.mercury.dfinity.systems:443 elasticsearch-node-2.mercury.dfinity.systems:443 elasticsearch-node-3.mercury.dfinity.systems:443"
7
7
},
8
8
"nns": {
9
- "url": "https://nns. ic0.app"
9
+ "url": "https://icp-api.io,https://icp0.io,https:// ic0.app"
10
10
},
11
11
"dns": {
12
12
"name_servers": "2606:4700:4700::1111 2606:4700:4700::1001 2001:4860:4860::8888 2001:4860:4860::8844"
Original file line number Diff line number Diff line change @@ -147,8 +147,8 @@ function ping_ipv6_gateway() {
147
147
}
148
148
149
149
function assemble_nns_nodes_list() {
150
- NNS_URL =$( /opt/ic/bin/fetch-property.sh --key=.nns.url --config=${DEPLOYMENT} )
151
- NNS_URL_LIST=$( echo $NNS_URL | sed ' s@,@ @g' )
150
+ NNS_URL_STRING =$( /opt/ic/bin/fetch-property.sh --key=.nns.url --config=${DEPLOYMENT} )
151
+ NNS_URL_LIST=$( echo $NNS_URL_STRING | sed ' s@,@ @g' )
152
152
}
153
153
154
154
function query_nns_nodes() {
@@ -157,10 +157,8 @@ function query_nns_nodes() {
157
157
i=0
158
158
success=0
159
159
nodes=$( echo ${NNS_URL_LIST} | wc -w)
160
+ # At least one of the provided URLs needs to work.
160
161
verify=1
161
- if [ ${nodes} -gt 1 ]; then
162
- verify=$( awk " BEGIN {printf \" %.0f\n\" , ${nodes} *0.20}" )
163
- fi
164
162
for url in $( echo $NNS_URL_LIST ) ; do
165
163
# When running against testnets, we need to ignore self signed certs
166
164
# with `--insecure`. This check is only meant to confirm from SetupOS
You can’t perform that action at this time.
0 commit comments