diff options
Diffstat (limited to 'cmd')
-rw-r--r-- | cmd/main.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/main.go b/cmd/main.go index 7db2092..bfbd0bb 100644 --- a/cmd/main.go +++ b/cmd/main.go @@ -214,7 +214,7 @@ func watchConfigFile(filename, adapterName string) { //nolint:staticcheck for range time.Tick(1 * time.Second) { // get current config - newCfg, _, err := LoadConfig(filename, adapterName) + newCfg, _, err := loadConfigWithLogger(nil, filename, adapterName) if err != nil { logger().Error("unable to load latest config", zap.Error(err)) return |