mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-02 16:29:21 +00:00
[pkg/controller/certificates]: remove staled func comments
This was introduced by commit: f04ce3cfba
Since this func is simple and clear enough, just not comment it anymore.
Signed-off-by: Zhou Peng <p@ctriple.cn>
This commit is contained in:
parent
d20c5ed626
commit
80519cee5b
@ -167,10 +167,6 @@ func (cc *CertificateController) enqueueCertificateRequest(obj interface{}) {
|
|||||||
cc.queue.Add(key)
|
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 {
|
func (cc *CertificateController) syncFunc(key string) error {
|
||||||
startTime := time.Now()
|
startTime := time.Now()
|
||||||
defer func() {
|
defer func() {
|
||||||
|
Loading…
Reference in New Issue
Block a user