Skip to content

Commit

Permalink
Update common/utils/utils.go
Browse files Browse the repository at this point in the history
Co-authored-by: Péter Garamvölgyi <peter@scroll.io>
  • Loading branch information
colinlyguo and Thegaram authored Aug 22, 2024
1 parent ad96e25 commit 6397274
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions common/utils/utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,7 @@ func OverrideConfigWithEnv(cfg interface{}, prefix string) error {
}
default:
if envValue, exists := os.LookupEnv(envKey); exists {
log.Info("Overriding config with env var", "key", envKey)

Check failure on line 124 in common/utils/utils.go

View workflow job for this annotation

GitHub Actions / tests

undefined: log
err := setField(fieldValue, envValue)
if err != nil {
return err
Expand Down

0 comments on commit 6397274

Please sign in to comment.