diff --git a/component/config.go b/component/config.go index 3c9a360bc79..fbae58a6691 100644 --- a/component/config.go +++ b/component/config.go @@ -27,7 +27,7 @@ type Config any var configValidatorType = reflect.TypeOf((*ConfigValidator)(nil)).Elem() // UnmarshalConfig helper function to UnmarshalConfig a Config. -// Deprecated: Use conf.Unmarshal(&intoCfg) +// Deprecated: [v0.97.0] Use conf.Unmarshal(&intoCfg) func UnmarshalConfig(conf *confmap.Conf, intoCfg Config) error { return conf.Unmarshal(intoCfg) }