diff --git a/pkg/types/multierror.go b/pkg/types/multierror.go index 59d63b7d..5d50b4e3 100644 --- a/pkg/types/multierror.go +++ b/pkg/types/multierror.go @@ -30,7 +30,7 @@ func (err *MultiError) Add(e error) { err.mux.Unlock() } -// Return is used as a wrapper on return on wether to return the +// Return is used as a wrapper on return on whether to return the // MultiError Structure if errors exist or nil instead of delivering an empty structure func (err *MultiError) Return() error { if len(err.Errors) > 0 {