From 950d7df748a01f89529d0a3dd04f733daa7fd8eb Mon Sep 17 00:00:00 2001 From: Steve Wagner Date: Mon, 27 Nov 2023 13:27:26 -0800 Subject: [PATCH] - update test for new code --- cmd/certificates-test-harness/main.go | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/cmd/certificates-test-harness/main.go b/cmd/certificates-test-harness/main.go index 3be7045..44d4a4e 100644 --- a/cmd/certificates-test-harness/main.go +++ b/cmd/certificates-test-harness/main.go @@ -32,10 +32,7 @@ func run() error { return fmt.Errorf(`error building a Kubernetes client: %w`, err) } - certificates, err := certification.NewCertificates(ctx, k8sClient) - if err != nil { - return fmt.Errorf(`error occurred creating certificates: %w`, err) - } + certificates := certification.NewCertificates(ctx, k8sClient) err = certificates.Initialize() if err != nil {