File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change 8484
8585# Pull the container, retry on failures up to 5 times with
8686# short delays between each attempt. Fixes most transient network errors.
87- # docker_pull_attempts=0
88- # until [ "$docker_pull_attempts" -ge 5 ]
89- # do
90- # docker pull docker.elastic.co/elasticsearch/"$elasticsearch_container" && break
91- # docker_pull_attempts=$((docker_pull_attempts+1))
92- # echo "Failed to pull image, retrying in 10 seconds (retry $docker_pull_attempts/5)..."
93- # sleep 10
94- # done
87+ docker_pull_attempts=0
88+ until [ " $docker_pull_attempts " -ge 5 ]
89+ do
90+ docker pull docker.elastic.co/elasticsearch/" $elasticsearch_container " && break
91+ docker_pull_attempts=$(( docker_pull_attempts+ 1 ))
92+ echo " Failed to pull image, retrying in 10 seconds (retry $docker_pull_attempts /5)..."
93+ sleep 10
94+ done
9595
9696NUMBER_OF_NODES=${NUMBER_OF_NODES-1}
9797http_port=9200
You can’t perform that action at this time.
0 commit comments