Skip to content

Commit

Permalink
Update environment variable name
Browse files Browse the repository at this point in the history
  • Loading branch information
jfreda authored Aug 17, 2023
1 parent 464e56e commit 57306a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/cmd/commands/server/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ func (c *Command) Run(args []string) int {
}

// Initialize database.
if val, ok := os.LookupEnv("HERMES_SERVER_DB_PASSWORD"); ok {
if val, ok := os.LookupEnv("HERMES_SERVER_POSTGRES_PASSWORD"); ok {
cfg.Postgres.Password = val
}
db, err := db.NewDB(*cfg.Postgres)
Expand Down

0 comments on commit 57306a6

Please sign in to comment.