mirror of
https://github.com/rancher/dynamiclistener.git
synced 2025-06-25 14:21:38 +00:00
Don't parse x509 cert on each request
This commit is contained in:
parent
74a61a850d
commit
5c222d5753
@ -367,6 +367,7 @@ func (l *listener) loadCert() (*tls.Certificate, error) {
|
||||
}
|
||||
|
||||
l.cert = &cert
|
||||
l.version = secret.ResourceVersion
|
||||
return l.cert, nil
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user