From 94c615d417948011430adb2ba9f8f5b99b962250 Mon Sep 17 00:00:00 2001 From: John Winston <59228178+winston0410@users.noreply.github.com> Date: Thu, 8 Aug 2024 13:00:19 +0100 Subject: [feature] Add `db-postgres-connection-string` option (#3178) * handle db-url * lint and add doc * add more doc * fix config test * return error * change name from db-url to db-postgres-connection-string --- test/envparsing.sh | 2 ++ 1 file changed, 2 insertions(+) (limited to 'test/envparsing.sh') diff --git a/test/envparsing.sh b/test/envparsing.sh index f88b6a031..6838fecc3 100755 --- a/test/envparsing.sh +++ b/test/envparsing.sh @@ -81,6 +81,7 @@ EXPECT=$(cat << "EOF" "db-max-open-conns-multiplier": 3, "db-password": "hunter2", "db-port": 6969, + "db-postgres-connection-string": "", "db-sqlite-busy-timeout": 1000000000, "db-sqlite-cache-size": 0, "db-sqlite-journal-mode": "DELETE", @@ -212,6 +213,7 @@ GTS_BIND_ADDRESS='127.0.0.1' \ GTS_PORT=6969 \ GTS_TRUSTED_PROXIES='127.0.0.1/32,docker.host.local' \ GTS_DB_TYPE='sqlite' \ +GTS_DB_POSTGRES_CONNECTION_STRING='' \ GTS_DB_ADDRESS=':memory:' \ GTS_DB_PORT=6969 \ GTS_DB_USER='sex-haver' \ -- cgit v1.2.3