Fixed default postgres user name to match docs

Changed default SQL user from posgres to postgres
This commit is contained in:
Petr Velan 2022-10-19 17:09:32 +02:00 committed by GitHub
parent 4d062b88ba
commit f31d16d619
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -36,7 +36,7 @@ func GetSQLPort() int32 {
return port
}
func GetSQLUser() string {
user := "posgres"
user := "postgres"
if os.Getenv("SQL_USER") != "" {
user = os.Getenv("SQL_USER")
} else if config.Config.SQL.Username != "" {