Skip to content

Commit

Permalink
fix: forgot to call ParseEnvVariables
Browse files Browse the repository at this point in the history
  • Loading branch information
soerenschneider committed Jul 7, 2023
1 parent cefe358 commit 6d744e8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions cmd/server/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,9 @@ func main() {
log.Warn().Err(err).Msgf("couldn't read config file")
}

err = conf.ParseEnvVariables(config)
dieOnError(err, "could not parse env variables")

err = conf.ValidateConfig(config)
dieOnError(err, "Config validation failed")

Expand Down

0 comments on commit 6d744e8

Please sign in to comment.