From 5e2851fbf369940713ccbe3b144fb4e98cc5b51a Mon Sep 17 00:00:00 2001 From: Mads Jensen Date: Sat, 3 Jan 2026 18:57:09 +0100 Subject: [PATCH] Fixing typos Signed-off-by: Mads Jensen --- pkg/chart/common/errors.go | 6 +++--- pkg/downloader/manager.go | 3 +++ 2 files changed, 6 insertions(+), 3 deletions(-) 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.