Skip to content

Commit

Permalink
Remove derecated func in confmap (open-telemetry#6315)
Browse files Browse the repository at this point in the history
Signed-off-by: Bogdan <[email protected]>
  • Loading branch information
bogdandrutu authored Oct 14, 2022
1 parent 73561e6 commit c0e0900
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
4 changes: 4 additions & 0 deletions .chloggen/remove-deprecated-confmap-api.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
change_type: breaking
component: confmap
note: "Remove deprecated `confmap.Conf.UnmarshalExact` API in 0.62.0"
issues: [6315]
5 changes: 0 additions & 5 deletions confmap/confmap.go
Original file line number Diff line number Diff line change
Expand Up @@ -90,11 +90,6 @@ func (l *Conf) Unmarshal(result interface{}, opts ...UnmarshalOption) error {
return decodeConfig(l, result, set.errorUnused)
}

// Deprecated: [v0.62.0] use Unmarshal.
func (l *Conf) UnmarshalExact(result interface{}) error {
return l.Unmarshal(result, WithErrorUnused())
}

type marshalOption struct{}

type MarshalOption interface {
Expand Down

0 comments on commit c0e0900

Please sign in to comment.