From 639727414762c10589f140a92b2db04b6fa2770a Mon Sep 17 00:00:00 2001 From: colin <102356659+colinlyguo@users.noreply.github.com> Date: Thu, 22 Aug 2024 23:56:27 +0800 Subject: [PATCH] Update common/utils/utils.go MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Péter Garamvölgyi --- common/utils/utils.go | 1 + 1 file changed, 1 insertion(+) diff --git a/common/utils/utils.go b/common/utils/utils.go index d4409dd7c..5933837e7 100644 --- a/common/utils/utils.go +++ b/common/utils/utils.go @@ -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) err := setField(fieldValue, envValue) if err != nil { return err