1
0
Fork 1
mirror of https://github.com/git-pkgs/proxy.git synced 2026-07-07 14:53:20 -04:00
pkg-proxy/internal/config
Andrew Nesbitt b2011c0a54
Log actual database config instead of sqlite path (#176)
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-26 07:42:30 -04:00
..
config.go Log actual database config instead of sqlite path (#176) 2026-06-26 07:42:30 -04:00
config_test.go Log actual database config instead of sqlite path (#176) 2026-06-26 07:42:30 -04:00