Skip to content

Commit 80519ce

Browse files
author
Zhou Peng
committed
[pkg/controller/certificates]: remove staled func comments
This was introduced by commit: f04ce3c Since this func is simple and clear enough, just not comment it anymore. Signed-off-by: Zhou Peng <[email protected]>
1 parent d20c5ed commit 80519ce

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

pkg/controller/certificates/certificate_controller.go

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -167,10 +167,6 @@ func (cc *CertificateController) enqueueCertificateRequest(obj interface{}) {
167167
cc.queue.Add(key)
168168
}
169169

170-
// maybeSignCertificate will inspect the certificate request and, if it has
171-
// been approved and meets policy expectations, generate an X509 cert using the
172-
// cluster CA assets. If successful it will update the CSR approve subresource
173-
// with the signed certificate.
174170
func (cc *CertificateController) syncFunc(key string) error {
175171
startTime := time.Now()
176172
defer func() {

0 commit comments

Comments
 (0)