Skip to content

Commit

Permalink
add version to deprecation message
Browse files Browse the repository at this point in the history
  • Loading branch information
atoulme committed Mar 14, 2024
1 parent db20be7 commit ccbf4cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion component/config.go
Expand Up @@ -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)
}
Expand Down

0 comments on commit ccbf4cc

Please sign in to comment.