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 ec087be commit f8f4fe6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion component/config.go
Original file line number Diff line number Diff line change
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 f8f4fe6

Please sign in to comment.