return an error when cert not found
This commit is contained in:
parent
9a130a7550
commit
f705431e55
1 changed files with 1 additions and 1 deletions
|
@ -375,7 +375,7 @@ func (l *L7) checkSSLCert() (err error) {
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
glog.Warningf("-- %s: Uh oh, no cert found by %f", l.runtimeInfo.Name, certName)
|
return fmt.Errorf("Cannot find existing sslCertificate %v for %v", certName, l.Name)
|
||||||
}
|
}
|
||||||
|
|
||||||
ingCert := l.runtimeInfo.TLS.Cert
|
ingCert := l.runtimeInfo.TLS.Cert
|
||||||
|
|
Loading…
Reference in a new issue