mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-29 06:27:05 +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
|
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.
|
// 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) {
|
func (p *caProvider) currentCA() (*authority.CertificateAuthority, error) {
|
||||||
certPEM, keyPEM := p.caLoader.CurrentCertKeyContent()
|
certPEM, keyPEM := p.caLoader.CurrentCertKeyContent()
|
||||||
|
Loading…
Reference in New Issue
Block a user