mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 19:56:01 +00:00
fix curent to current
This commit is contained in:
parent
eb43b41cfd
commit
a5c5acf56e
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user