Skip to content

Commit

Permalink
fix: remove warning flag causing noise (#4582)
Browse files Browse the repository at this point in the history
This change was introduced in #4580. This PR reverts the unintended warn log lines addition.

Co-authored-by: frrist <[email protected]>
  • Loading branch information
frrist and frrist authored Oct 4, 2024
1 parent ad2a45c commit 16b7a36
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -144,9 +144,9 @@ func New(opts ...Option) (*Config, error) {
for _, flag := range flags {
// only if the flag has been set do we want to bind to it, this allows multiple flags
// to bind to the same config key.
log.Warn().Msgf("Binding flag %+v to config key %q", flag, name)
if flag == nil {
log.Error().Msgf("flag %q is nil", name)
continue
}
if flag.Changed {
switch name {
Expand Down

0 comments on commit 16b7a36

Please sign in to comment.