Skip to content

Commit

Permalink
Fix breaking change
Browse files Browse the repository at this point in the history
  • Loading branch information
rm3l committed Jan 29, 2024
1 parent 11a4c42 commit c757814
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion pkg/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,11 @@ func GetConfiguration() (*Configuration, error) {
// typically in unit tests.
func GetConfigurationWith(lookuper envconfig.Lookuper) (*Configuration, error) {
var s Configuration
err := envconfig.ProcessWith(context.Background(), &s, lookuper)
c := envconfig.Config{
Target: &s,
Lookuper: lookuper,
}
err := envconfig.ProcessWith(context.Background(), &c)
if err != nil {
return nil, err
}
Expand Down

0 comments on commit c757814

Please sign in to comment.