mirror of
https://github.com/go-gitea/gitea.git
synced 2024-09-01 14:56:30 +00:00
run lint (#6898)
Signed-off-by: abhishek kumar gupta <abhishekguptaatweb17@gmail.com>
This commit is contained in:
parent
b95b9a8597
commit
67235999db
@ -127,7 +127,6 @@ func dial(source *Source) (*ldap.Conn, error) {
|
||||
|
||||
if source.SecurityProtocol == SecurityProtocolLDAPS {
|
||||
conn, err := ldap.DialTLS("tcp", net.JoinHostPort(host, strconv.Itoa(source.Port)), tlsConfig)
|
||||
|
||||
if err != nil {
|
||||
// Connection failed, try again with the next host.
|
||||
log.Trace("error during Dial for host %s: %w", host, err)
|
||||
|
Loading…
Reference in New Issue
Block a user