We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c0596d0 commit fa492c6Copy full SHA for fa492c6
pkg/login/ldap.go
@@ -30,7 +30,7 @@ func (a *ldapAuther) Dial() error {
30
var err error
31
var certPool *x509.CertPool
32
if a.server.RootCACert != "" {
33
- certPool := x509.NewCertPool()
+ certPool = x509.NewCertPool()
34
for _, caCertFile := range strings.Split(a.server.RootCACert, " ") {
35
if pem, err := ioutil.ReadFile(caCertFile); err != nil {
36
return err
0 commit comments