fix: further coderabbit suggestions

This commit is contained in:
Stavros
2025-08-26 14:49:55 +03:00
parent a5e1ae096b
commit a1b6ecdd5d
9 changed files with 33 additions and 18 deletions

View File

@@ -140,7 +140,7 @@ func (ldap *LdapService) reconnect() error {
ldap.Conn.Close()
conn, err := ldap.connect()
if err != nil {
return nil, nil
return nil, err
}
return conn, nil
}