From 3a09ac92b47bffbb75808a160fa62f28c34c2a4a Mon Sep 17 00:00:00 2001 From: Joe Nathan Abellard Date: Wed, 20 Nov 2024 07:58:29 -0500 Subject: [PATCH] Address comments Signed-off-by: Joe Nathan Abellard --- operator/pkg/certs/certs.go | 1 + 1 file changed, 1 insertion(+) diff --git a/operator/pkg/certs/certs.go b/operator/pkg/certs/certs.go index 7dd1f86c5..0132dc952 100644 --- a/operator/pkg/certs/certs.go +++ b/operator/pkg/certs/certs.go @@ -218,6 +218,7 @@ type KarmadaCert struct { key []byte } +// NewKarmadaCert is used to create a new Karmada cert func NewKarmadaCert(pairName, caName string, cert, key []byte) *KarmadaCert { return &KarmadaCert{pairName: pairName, caName: caName, cert: cert, key: key} }