Update comment on UpdateCertificate metric from PR

Signed-off-by: Aidan Jensen <aidan@artificial.com>
This commit is contained in:
Aidan Jensen 2021-08-31 10:17:30 -07:00
parent c6bc180f58
commit 168a4b35a2
No known key found for this signature in database
GPG Key ID: D599D1A5593F8395

View File

@ -35,7 +35,7 @@ import (
logf "github.com/jetstack/cert-manager/pkg/logs"
)
// UpdateCertificate will update that Certificate metric with expiry and Ready
// UpdateCertificate will update that Certificate metric with expiry, renewBefore and Ready
// condition.
func (m *Metrics) UpdateCertificate(ctx context.Context, crt *cmapi.Certificate) {
key, err := cache.MetaNamespaceKeyFunc(crt)