Skip to content

Commit

Permalink
fix: updated config from dep update
Browse files Browse the repository at this point in the history
  • Loading branch information
fmartingr committed May 18, 2024
1 parent eee32d2 commit f7ee3a1
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion internal/server/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,10 @@ func ParseServerConfiguration(ctx context.Context) *ServerConfig {
envconfig.PrefixLookuper("BAZAAR_", envconfig.OsLookuper()),
envconfig.OsLookuper(),
)
if err := envconfig.ProcessWith(ctx, &cfg, lookuper); err != nil {
if err := envconfig.Process(ctx, envconfig.Config{
Target: &cfg,
Lookuper: lookuper,
}); err != nil {
log.Fatalf("Error parsing configuration: %s", err)
}

Expand Down

0 comments on commit f7ee3a1

Please sign in to comment.