1
0
Fork 1
mirror of https://github.com/git-pkgs/proxy.git synced 2026-07-07 06:43:20 -04:00
pkg-proxy/internal/config
Andrew Nesbitt 67571a2ac8 Log actual database config instead of sqlite path
The startup log and /stats endpoint always reported Database.Path,
which is the sqlite default even when PROXY_DATABASE_DRIVER=postgres
is set and a postgres URL is in use. Add DatabaseConfig.String() that
returns the sqlite path or the postgres URL with the password redacted,
and use it in both places.

Fixes #173
2026-06-25 13:03:50 -04:00
..
config.go Log actual database config instead of sqlite path 2026-06-25 13:03:50 -04:00
config_test.go Log actual database config instead of sqlite path 2026-06-25 13:03:50 -04:00