From 67235999db1fd834b99e20739e3a3b30a0b140e2 Mon Sep 17 00:00:00 2001 From: abhishek kumar gupta Date: Thu, 18 Jul 2024 09:12:00 +0000 Subject: [PATCH] run lint (#6898) Signed-off-by: abhishek kumar gupta --- services/auth/source/ldap/source_search.go | 1 - 1 file changed, 1 deletion(-) diff --git a/services/auth/source/ldap/source_search.go b/services/auth/source/ldap/source_search.go index 40016ed271..e785f3953e 100644 --- a/services/auth/source/ldap/source_search.go +++ b/services/auth/source/ldap/source_search.go @@ -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)