From f6b1cd9d46f12c99d69b9c39d033636a3bf18b8b Mon Sep 17 00:00:00 2001 From: Bogdan Drutu Date: Tue, 5 Apr 2022 13:06:29 -0700 Subject: [PATCH] nit: fix some comments in config (#5150) Signed-off-by: Bogdan Drutu --- config/config.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/config/config.go b/config/config.go index 4e595e8cb0b..eace63ab25f 100644 --- a/config/config.go +++ b/config/config.go @@ -156,10 +156,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 config.Map into the unmarshable struct in a custom way. + // Unmarshal is a function that unmarshals a config.Map into the struct in a custom way. // The config.Map for this specific component may be nil or empty if no config available. Unmarshal(component *Map) error }