mirror of
https://github.com/openziti/zrok.git
synced 2025-06-25 12:12:32 +02:00
can't show 'cfg.Path', as it can contain secrets (#89)
This commit is contained in:
parent
604c7c0e7b
commit
b9c9e62910
@ -51,7 +51,7 @@ func Open(cfg *Config) (*Store, error) {
|
|||||||
default:
|
default:
|
||||||
return nil, errors.Errorf("unknown database type '%v' (supported: sqlite3, postgres)", cfg.Type)
|
return nil, errors.Errorf("unknown database type '%v' (supported: sqlite3, postgres)", cfg.Type)
|
||||||
}
|
}
|
||||||
logrus.Infof("opened database '%v'", cfg.Path)
|
logrus.Info("database connected")
|
||||||
dbx.MapperFunc(strcase.ToSnake)
|
dbx.MapperFunc(strcase.ToSnake)
|
||||||
|
|
||||||
store := &Store{cfg: cfg, db: dbx}
|
store := &Store{cfg: cfg, db: dbx}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user