mirror of
https://github.com/bitnami/containers.git
synced 2026-04-07 09:39:23 +08:00
fix(pgbouncer): ini-set ignore-inline-comments (#30801)
Signed-off-by: Oleksii Iakovenko <vortex@macpaw.com>
This commit is contained in:
committed by
GitHub
parent
01d5e9b62d
commit
b5b6a61d6f
@@ -268,7 +268,7 @@ pgbouncer_initialize() {
|
||||
local key value
|
||||
key="$(awk -F: '{print $1}' <<<"$pair")"
|
||||
value="$(awk -F: '{print $2}' <<<"$pair")"
|
||||
! is_empty_value "${value}" && ini-file set --section "pgbouncer" --key "${key}" --value "${value}" "$PGBOUNCER_CONF_FILE"
|
||||
! is_empty_value "${value}" && ini-file set --ignore-inline-comments --section "pgbouncer" --key "${key}" --value "${value}" "$PGBOUNCER_CONF_FILE"
|
||||
done
|
||||
if [[ "$PGBOUNCER_CLIENT_TLS_SSLMODE" != "disable" ]]; then
|
||||
ini-file set --section "pgbouncer" --key "client_tls_cert_file" --value "$PGBOUNCER_CLIENT_TLS_CERT_FILE" "$PGBOUNCER_CONF_FILE"
|
||||
|
||||
Reference in New Issue
Block a user