From 70a544e916efacb7ecdb7f77dd3c74d17321af3e Mon Sep 17 00:00:00 2001 From: Luis Serra <74016165+luis-serra-ki@users.noreply.github.com> Date: Mon, 28 Mar 2022 15:40:04 +0100 Subject: [PATCH] chore(message): fix wrong PGSQL_DBNAME error message (#1128) --- cmd/database.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/database.go b/cmd/database.go index 6732ede..17d202d 100644 --- a/cmd/database.go +++ b/cmd/database.go @@ -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