Skip to content

Commit

Permalink
[chore] add deprecation version to deprecation notice on WithErrorUnu…
Browse files Browse the repository at this point in the history
…sed (#9189)
  • Loading branch information
atoulme committed Dec 22, 2023
1 parent 9540120 commit 932a4ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion confmap/confmap.go
Expand Up @@ -57,7 +57,7 @@ type unmarshalOption struct {
// WithErrorUnused sets an option to error when there are existing
// keys in the original Conf that were unused in the decoding process
// (extra keys). This option is enabled by default and can be disabled with `WithIgnoreUnused`.
// Deprecated: this is now enabled by default. Use `WithIgnoreUnused` to disable.
// Deprecated: [v0.92.0] this is now enabled by default. Use `WithIgnoreUnused` to disable.
func WithErrorUnused() UnmarshalOption {
return unmarshalOptionFunc(func(uo *unmarshalOption) {
uo.ignoreUnused = false
Expand Down

0 comments on commit 932a4ed

Please sign in to comment.