mirror of
https://github.com/rancher/dynamiclistener.git
synced 2025-09-10 17:39:11 +00:00
Don't parse x509 cert on each request
This commit is contained in:
@@ -367,6 +367,7 @@ func (l *listener) loadCert() (*tls.Certificate, error) {
|
||||
}
|
||||
|
||||
l.cert = &cert
|
||||
l.version = secret.ResourceVersion
|
||||
return l.cert, nil
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user