Skip to content

Commit

Permalink
Use pointer in envconfig.
Browse files Browse the repository at this point in the history
  • Loading branch information
lostlevels committed Apr 22, 2024
1 parent aa2dbe9 commit 363e708
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion task/service/service/service.go
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ func (s *Service) Initialize(provider application.Provider) error {
return err
}

if err := envconfig.Process("", s.cfg); err != nil {
if err := envconfig.Process("", &s.cfg); err != nil {
return err
}

Expand Down

0 comments on commit 363e708

Please sign in to comment.