mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-07-09 23:40:59 +02:00
GitHub bot: fix linting issues (nobuild)
This commit is contained in:
@@ -87,10 +87,12 @@ start_postgres() {
|
|||||||
wait_postgres_ready() {
|
wait_postgres_ready() {
|
||||||
local host port
|
local host port
|
||||||
if $USE_EXTERNAL_DB; then
|
if $USE_EXTERNAL_DB; then
|
||||||
host="$DB_HOST_EXT"; port="$DB_PORT_EXT"
|
host="$DB_HOST_EXT"
|
||||||
|
port="$DB_PORT_EXT"
|
||||||
bashio::log.info "Waiting for EXTERNAL Postgres at ${host}:${port}..."
|
bashio::log.info "Waiting for EXTERNAL Postgres at ${host}:${port}..."
|
||||||
else
|
else
|
||||||
host="$DB_HOST_INTERNAL"; port="$DB_PORT_INTERNAL"
|
host="$DB_HOST_INTERNAL"
|
||||||
|
port="$DB_PORT_INTERNAL"
|
||||||
bashio::log.info "Waiting for internal Postgres..."
|
bashio::log.info "Waiting for internal Postgres..."
|
||||||
fi
|
fi
|
||||||
until pg_isready -q -h "$host" -p "$port"; do
|
until pg_isready -q -h "$host" -p "$port"; do
|
||||||
|
|||||||
Reference in New Issue
Block a user