From da85a4b50d4a1b64ccd35d09aa9ab29d8d389869 Mon Sep 17 00:00:00 2001 From: James Sheppard Date: Sun, 7 May 2023 16:53:12 +0000 Subject: [PATCH] use fmt pkg for Errorf call in pull.go Signed-off-by: James Sheppard --- pkg/action/pull.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/action/pull.go b/pkg/action/pull.go index 37ff144de..5ae682ba1 100644 --- a/pkg/action/pull.go +++ b/pkg/action/pull.go @@ -162,7 +162,7 @@ func (p *Pull) Run(chartRef string) (string, error) { } } else { - return out.String(), errors.Errorf("failed to untar: a file or directory with the name %s already exists", udCheck) + return out.String(), fmt.Errorf("failed to untar: a file or directory with the name %s already exists", udCheck) } return out.String(), chartutil.ExpandFile(ud, saved)