fix curent to current

This commit is contained in:
sivchari 2021-12-17 03:33:22 +09:00
parent eb43b41cfd
commit a5c5acf56e

View File

@ -82,7 +82,7 @@ func (p *caProvider) setCA() error {
return nil
}
// currentCA provides the curent value of the CA.
// currentCA provides the current value of the CA.
// It always check for a stale value. This is cheap because it's all an in memory cache of small slices.
func (p *caProvider) currentCA() (*authority.CertificateAuthority, error) {
certPEM, keyPEM := p.caLoader.CurrentCertKeyContent()