diff --git a/pkg/chart/common/errors.go b/pkg/chart/common/errors.go index 4525588ce..627e0dca1 100644 --- a/pkg/chart/common/errors.go +++ b/pkg/chart/common/errors.go @@ -20,7 +20,7 @@ import ( "fmt" ) -// ErrNoTable exists due to compatibilty with API users +// ErrNoTable exists due to compatibility with API users // //nolint:errname type ErrNoTable = NoTableError @@ -32,7 +32,7 @@ type NoTableError struct { func (e NoTableError) Error() string { return fmt.Sprintf("%q is not a table", e.Key) } -// ErrNoValue exists due to compatibilty with API users +// ErrNoValue exists due to compatibility with API users // //nolint:errname type ErrNoValue = NoValueError @@ -44,7 +44,7 @@ type NoValueError struct { func (e NoValueError) Error() string { return fmt.Sprintf("%q is not a value", e.Key) } -// ErrInvalidChartName exists due to compatibilty with API users +// ErrInvalidChartName exists due to compatibility with API users // //nolint:errname type ErrInvalidChartName = InvalidChartNameError diff --git a/pkg/downloader/manager.go b/pkg/downloader/manager.go index 40caa1579..7f06aae6c 100644 --- a/pkg/downloader/manager.go +++ b/pkg/downloader/manager.go @@ -45,6 +45,9 @@ import ( "helm.sh/helm/v4/pkg/repo/v1" ) +// ErrRepoNotFound is maintained for backwards compatibility for API users +// +//nolint:errname type ErrRepoNotFound = RepoNotFoundError // RepoNotFoundError indicates that chart repositories can't be found in local repo cache.