From 0a5dc237dfc1c6619e00d7337e850eb212029ffa Mon Sep 17 00:00:00 2001 From: Mariano Cano Date: Tue, 12 Apr 2022 17:56:39 -0700 Subject: [PATCH] Fix typo in comment. --- authority/authorize.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/authority/authorize.go b/authority/authorize.go index 7dc58575..7121c55f 100644 --- a/authority/authorize.go +++ b/authority/authorize.go @@ -286,8 +286,9 @@ func (a *Authority) authorizeRenew(cert *x509.Certificate) error { if err != nil { var ok bool // For backward compatibility this method will also succeed if the - // provisioner does not have an extension. LoadByCertificate returns the - // noop provisioner if this happens, and it allows certificate renewals. + // certificate does not have a provisioner extension. LoadByCertificate + // returns the noop provisioner if this happens, and it allows + // certificate renewals. if p, ok = a.provisioners.LoadByCertificate(cert); !ok { return errs.Unauthorized("authority.authorizeRenew: provisioner not found", opts...) }