Merge pull request #92983 from iotty/csr.clean

[pkg/controller/certificates]: remove staled func comments
This commit is contained in:
Kubernetes Prow Robot 2020-08-27 19:08:23 -07:00 committed by GitHub
commit 215d2c6bce
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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() {