Skip to content

Commit

Permalink
Fix linter
Browse files Browse the repository at this point in the history
  • Loading branch information
michel-laterman committed Dec 10, 2024
1 parent 35c595e commit 5606d0a
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion internal/pkg/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,6 @@ func (c *Config) Redact() *Config {
}

func checkDeprecatedOptions(deprecatedOpts map[string]string, c *ucfg.Config) {
keys := c.FlattenedKeys()
for opt, message := range deprecatedOpts {
if c.HasField(opt) {
zerolog.Ctx(context.TODO()).Warn().Msg(message) // TODO is used as this may be called before logger config is read.
Expand Down

0 comments on commit 5606d0a

Please sign in to comment.