diff --git a/pkg/util/config/util.go b/pkg/util/config/util.go index 5a9e23630..40d9e6ed9 100644 --- a/pkg/util/config/util.go +++ b/pkg/util/config/util.go @@ -26,7 +26,7 @@ func decoderFrom(field reflect.Value) (d Decoder) { d, ok := field.Interface().(Decoder) if !ok && field.CanAddr() { - d, ok = field.Addr().Interface().(Decoder) + d, _ = field.Addr().Interface().(Decoder) } return d