From 05f02ceafd812ac764b4a614d0d2b12570c8ad50 Mon Sep 17 00:00:00 2001 From: James Sheppard Date: Sun, 7 May 2023 17:37:47 +0000 Subject: [PATCH] use fmt pkg instead of github errors pkg in validateChartFormat func Signed-off-by: James Sheppard --- pkg/lint/rules/dependencies.go | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/pkg/lint/rules/dependencies.go b/pkg/lint/rules/dependencies.go index abecd1feb..df7e13789 100644 --- a/pkg/lint/rules/dependencies.go +++ b/pkg/lint/rules/dependencies.go @@ -20,8 +20,6 @@ import ( "fmt" "strings" - "github.com/pkg/errors" - "helm.sh/helm/v3/pkg/chart" "helm.sh/helm/v3/pkg/chart/loader" "helm.sh/helm/v3/pkg/lint/support" @@ -42,7 +40,7 @@ func Dependencies(linter *support.Linter) { func validateChartFormat(chartError error) error { if chartError != nil { - return errors.Errorf("unable to load chart\n\t%s", chartError) + return fmt.Errorf("unable to load chart\n\t%s", chartError) } return nil }