diff options
author | yangyan <yangyanyj@chinamobile.com> | 2020-02-17 17:50:54 +0800 |
---|---|---|
committer | Yan Yang <yangyanyj@chinamobile.com> | 2020-02-17 09:52:04 +0000 |
commit | 9456cb60f814945aa6fdaf6e241613d0785eaf04 (patch) | |
tree | 48cc544ab88bf9985a9c5f8f3c47a3c5ec56f2c6 /res/docker/docker-entrypoint.sh | |
parent | 619bbcce12b79d75358e595139b6e25d99be5832 (diff) |
Modify the request by msb with https
Change-Id: I3d5ac977c3f3e664078428684aa50387fc71bdeb
Issue-ID: VFC-1602
Signed-off-by: yangyan <yangyanyj@chinamobile.com>
Diffstat (limited to 'res/docker/docker-entrypoint.sh')
-rwxr-xr-x | res/docker/docker-entrypoint.sh | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/res/docker/docker-entrypoint.sh b/res/docker/docker-entrypoint.sh index a4caa72..ec53bd9 100755 --- a/res/docker/docker-entrypoint.sh +++ b/res/docker/docker-entrypoint.sh @@ -20,7 +20,11 @@ echo "MYSQL_ADDR=$MYSQL_ADDR" # Wait for MSB initialization echo "Wait for MSB initialization" for i in {1..5}; do - curl -sS -m 1 $MSB_ADDR > /dev/null && break + curl -sS -m 1 $MSB_PROTO:$MSB_ADDR/msb -k > /dev/null + res=$i? + if [ $res -ne 0 ]; then + break + fi sleep $i done |