mirror of
https://github.com/gravitl/netmaker.git
synced 2025-09-08 06:04:20 +08:00
Fixed default postgres user name to match docs
Changed default SQL user from posgres to postgres
This commit is contained in:
parent
4d062b88ba
commit
f31d16d619
1 changed files with 1 additions and 1 deletions
|
@ -36,7 +36,7 @@ func GetSQLPort() int32 {
|
||||||
return port
|
return port
|
||||||
}
|
}
|
||||||
func GetSQLUser() string {
|
func GetSQLUser() string {
|
||||||
user := "posgres"
|
user := "postgres"
|
||||||
if os.Getenv("SQL_USER") != "" {
|
if os.Getenv("SQL_USER") != "" {
|
||||||
user = os.Getenv("SQL_USER")
|
user = os.Getenv("SQL_USER")
|
||||||
} else if config.Config.SQL.Username != "" {
|
} else if config.Config.SQL.Username != "" {
|
||||||
|
|
Loading…
Add table
Reference in a new issue