mirror of
https://github.com/aquasecurity/kube-bench.git
synced 2024-11-21 15:48:06 +00:00
chore(message): fix wrong PGSQL_DBNAME error message (#1128)
This commit is contained in:
parent
be157a8a5a
commit
70a544e916
@ -38,7 +38,7 @@ func getPsqlConnInfo() (PsqlConnInfo, error) {
|
||||
if value := viper.GetString("PGSQL_DBNAME"); value != "" {
|
||||
dbName = value
|
||||
} else {
|
||||
return PsqlConnInfo{}, fmt.Errorf("%s_PGSQL_USER env var is required", envVarsPrefix)
|
||||
return PsqlConnInfo{}, fmt.Errorf("%s_PGSQL_DBNAME env var is required", envVarsPrefix)
|
||||
}
|
||||
|
||||
var sslMode string
|
||||
|
Loading…
Reference in New Issue
Block a user