Skip to content

Commit

Permalink
Fix some comment typos. (open-telemetry#5508)
Browse files Browse the repository at this point in the history
Signed-off-by: Bogdan Drutu <[email protected]>
  • Loading branch information
bogdandrutu authored Jun 10, 2022
1 parent 5616e29 commit 9bbfecb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions config/common.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,10 @@ type validatable interface {
Validate() error
}

// Unmarshallable defines an optional interface for custom configuration unmarshaling.
// A configuration struct can implement this interface to override the default unmarshaling.
// Unmarshallable defines an optional interface for custom configuration unmarshalling.
// A configuration struct can implement this interface to override the default unmarshalling.
type Unmarshallable interface {
// Unmarshal is a function that unmarshals a confmap.Conf into the unmarshable struct in a custom way.
// Unmarshal is a function that unmarshalls a confmap.Conf into the unmarshable struct in a custom way.
// The confmap.Conf for this specific component may be nil or empty if no config available.
Unmarshal(component *confmap.Conf) error
}
Expand Down

0 comments on commit 9bbfecb

Please sign in to comment.