Remove database DSN from photoprism config (#922)
This commit is contained in:
parent
75fb5823b0
commit
791fbe683c
1 changed files with 0 additions and 2 deletions
|
@ -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())
|
||||
|
|
Loading…
Reference in a new issue