This commit is contained in:
Joshua Casey
2024-04-08 06:49:03 -05:00
parent e950e7e001
commit 8ea339139e
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -326,7 +326,7 @@ func (p *Provider) dialTLS(ctx context.Context, addr endpointaddr.HostPort) (Con
}
conn := ldap.NewConn(c, true)
conn.Start()
conn.Start() //nolint:staticcheck // will need a different approach soon
return conn, nil
}
@@ -348,7 +348,7 @@ func (p *Provider) dialStartTLS(ctx context.Context, addr endpointaddr.HostPort)
}
conn := ldap.NewConn(c, false)
conn.Start()
conn.Start() //nolint:staticcheck // will need a different approach soon
err = conn.StartTLS(tlsConfig)
if err != nil {
return nil, err