pick up changes to the external cert referenced by lb
This commit is contained in:
parent
e1d1445370
commit
1f08f74959
1 changed files with 0 additions and 5 deletions
|
@ -356,11 +356,6 @@ func (l *L7) checkSSLCert() (err error) {
|
||||||
|
|
||||||
// Use the named GCE cert when it is specified by the annotation.
|
// Use the named GCE cert when it is specified by the annotation.
|
||||||
if certName != "" {
|
if certName != "" {
|
||||||
// Use the targetHTTPSProxy's cert name if it already has one set.
|
|
||||||
if l.sslCert != nil {
|
|
||||||
certName = l.sslCert.Name
|
|
||||||
}
|
|
||||||
|
|
||||||
// Ask GCE for the cert, checking for problems and existence.
|
// Ask GCE for the cert, checking for problems and existence.
|
||||||
cert, err := l.cloud.GetSslCertificate(certName)
|
cert, err := l.cloud.GetSslCertificate(certName)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|
Loading…
Reference in a new issue