From 80519cee5b0730da349e79c92409fa96dd43d9bc Mon Sep 17 00:00:00 2001 From: Zhou Peng
Date: Sat, 11 Jul 2020 17:04:43 +0800 Subject: [PATCH] [pkg/controller/certificates]: remove staled func comments This was introduced by commit: f04ce3cfba6ca20ca9e8b71caf65bdb391d70030 Since this func is simple and clear enough, just not comment it anymore. Signed-off-by: Zhou Peng
--- pkg/controller/certificates/certificate_controller.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/pkg/controller/certificates/certificate_controller.go b/pkg/controller/certificates/certificate_controller.go index 927da7979bc..e1fbd420142 100644 --- a/pkg/controller/certificates/certificate_controller.go +++ b/pkg/controller/certificates/certificate_controller.go @@ -167,10 +167,6 @@ func (cc *CertificateController) enqueueCertificateRequest(obj interface{}) { cc.queue.Add(key) } -// maybeSignCertificate will inspect the certificate request and, if it has -// been approved and meets policy expectations, generate an X509 cert using the -// cluster CA assets. If successful it will update the CSR approve subresource -// with the signed certificate. func (cc *CertificateController) syncFunc(key string) error { startTime := time.Now() defer func() {