From 4284ba9c27d04a8b1e43280b566e17fa112f30bf Mon Sep 17 00:00:00 2001 From: Gabe Pacuilla Date: Wed, 18 May 2022 13:01:18 -0400 Subject: [PATCH] FIX(cache_critical_dns): use correct DISCOURSE_DB_USERNAME envvar (#16862) --- script/cache_critical_dns | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/script/cache_critical_dns b/script/cache_critical_dns index 96099bb55bf..a4350aed5c3 100755 --- a/script/cache_critical_dns +++ b/script/cache_critical_dns @@ -174,13 +174,13 @@ HEALTH_CHECKS = { "DISCOURSE_DB_HOST": lambda { |addr| postgres_healthcheck( host: addr, - user: ENV["DISCOURSE_DB_USER_NAME"] || DEFAULT_DB_NAME, + user: ENV["DISCOURSE_DB_USERNAME"] || DEFAULT_DB_NAME, dbname: ENV["DISCOURSE_DB_NAME"] || DEFAULT_DB_NAME, password: ENV["DISCOURSE_DB_PASSWORD"])}, "DISCOURSE_DB_REPLICA_HOST": lambda { |addr| postgres_healthcheck( host: addr, - user: ENV["DISCOURSE_DB_USER_NAME"] || DEFAULT_DB_NAME, + user: ENV["DISCOURSE_DB_USERNAME"] || DEFAULT_DB_NAME, dbname: ENV["DISCOURSE_DB_NAME"] || DEFAULT_DB_NAME, password: ENV["DISCOURSE_DB_PASSWORD"])}, "DISCOURSE_REDIS_HOST": lambda { |addr|