mirror of
https://github.com/aquasecurity/kube-bench.git
synced 2024-11-25 09:28:16 +00:00
Update cmd/database.go
Co-authored-by: Huang Huang <mozillazg101@gmail.com>
This commit is contained in:
parent
45fb199c9f
commit
dcb167c10d
@ -20,9 +20,6 @@ type PsqlConnInfo struct {
|
||||
Password string
|
||||
Schema string
|
||||
}
|
||||
|
||||
var db *gorm.DB
|
||||
|
||||
func getPsqlConnInfo() (PsqlConnInfo, error) {
|
||||
var host string
|
||||
if value := viper.GetString("PGSQL_HOST"); value != "" {
|
||||
|
Loading…
Reference in New Issue
Block a user