Skip to content

Commit

Permalink
Amend comment
Browse files Browse the repository at this point in the history
  • Loading branch information
mx-psi committed Apr 2, 2021
1 parent e33c788 commit ab5ae0a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/configparser/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -541,7 +541,7 @@ func unmarshal(componentSection *config.Parser, intoCfg interface{}) error {
return componentSection.UnmarshalExact(intoCfg)
}

// unmarshaler returns an unmarshaling function. It should be removed when deprecatedUnmarshaler is removed.
// unmarshaler returns an unmarshaling function. It should be removed when config.DeprecatedUnmarshaler is removed.
func unmarshaler(factory component.Factory) func(componentViperSection *config.Parser, intoCfg interface{}) error {
if fu, ok := factory.(component.DeprecatedUnmarshaler); ok {
return func(componentParser *config.Parser, intoCfg interface{}) error {
Expand Down

0 comments on commit ab5ae0a

Please sign in to comment.