From f359aec5579b7b1d4ceca7f3256bbc4e5dbd353b Mon Sep 17 00:00:00 2001 From: James Sheppard Date: Sun, 7 May 2023 20:18:59 +0000 Subject: [PATCH] use std errors pkg for New call Signed-off-by: James Sheppard --- pkg/action/validate.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/action/validate.go b/pkg/action/validate.go index c67f25134..8cc7e75b0 100644 --- a/pkg/action/validate.go +++ b/pkg/action/validate.go @@ -17,7 +17,7 @@ limitations under the License. package action import ( - "errors" + "errors" "fmt" githubErrors "github.com/pkg/errors" @@ -89,7 +89,7 @@ func checkOwnership(obj runtime.Object, releaseName, releaseNamespace string) er } if len(errs) > 0 { - err := githubErrors.New("invalid ownership metadata") + err := errors.New("invalid ownership metadata") for _, e := range errs { err = fmt.Errorf("%w; %s", err, e) }