cli-migrations: update docker-entrypoint.sh to stop overwriting the PORT env var (fix #8770)

GITHUB_PR_NUMBER: 8772
GITHUB_PR_URL: https://github.com/hasura/graphql-engine/pull/8772

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5425
Co-authored-by: George Czabania <1140167+stayradiated@users.noreply.github.com>
Co-authored-by: Aravind K P <8335904+scriptonist@users.noreply.github.com>
GitOrigin-RevId: 16fe43d0358f3eb2c0fee7abacd58c3590a20e95
This commit is contained in:
hasura-bot 2022-08-23 07:17:19 +01:00
parent 46db01abd9
commit 49cbca45d2
2 changed files with 2 additions and 2 deletions

View File

@ -38,7 +38,7 @@ fi
# wait for a port to be ready
wait_for_port() {
PORT=$1
local PORT=$1
log "migrations-startup" "waiting $HASURA_GRAPHQL_MIGRATIONS_SERVER_TIMEOUT for $PORT to be ready"
for _ in $(seq 1 $HASURA_GRAPHQL_MIGRATIONS_SERVER_TIMEOUT);
do

View File

@ -34,7 +34,7 @@ fi
# wait for a port to be ready
wait_for_port() {
PORT=$1
local PORT=$1
log "migrations-startup" "waiting $HASURA_GRAPHQL_MIGRATIONS_SERVER_TIMEOUT for $PORT to be ready"
for _ in $(seq 1 $HASURA_GRAPHQL_MIGRATIONS_SERVER_TIMEOUT);
do