From f8f4fe605ad2ed1eb1c94896e468c22d7ebcb3f9 Mon Sep 17 00:00:00 2001 From: Antoine Toulme Date: Thu, 14 Mar 2024 11:59:05 -0700 Subject: [PATCH] add version to deprecation message --- component/config.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) }