Remove database DSN from photoprism config (#922)

This commit is contained in:
Krassimir Valev 2021-01-19 21:29:01 +01:00 committed by GitHub
parent 75fb5823b0
commit 791fbe683c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -22,7 +22,6 @@ func configAction(ctx *cli.Context) error {
conf := config.NewConfig(ctx)
dbDriver := conf.DatabaseDriver()
dbDsn := conf.DatabaseDsn()
fmt.Printf("%-25s VALUE\n", "NAME")
@ -97,7 +96,6 @@ func configAction(ctx *cli.Context) error {
// Database configuration.
fmt.Printf("%-25s %s\n", "database-driver", dbDriver)
fmt.Printf("%-25s %s\n", "database-dsn", dbDsn)
fmt.Printf("%-25s %s\n", "database-server", conf.DatabaseServer())
fmt.Printf("%-25s %s\n", "database-host", conf.DatabaseHost())
fmt.Printf("%-25s %s\n", "database-port", conf.DatabasePortString())