pick up changes to the external cert referenced by lb

This commit is contained in:
Tony Li 2017-03-07 17:17:40 -05:00
parent e1d1445370
commit 1f08f74959

View file

@ -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 {