mirror of
https://github.com/nabbar/golib.git
synced 2025-10-24 16:20:42 +08:00
Fix linter + working dir for test
This commit is contained in:
@@ -92,7 +92,8 @@ func (lc *HelperLDAP) ForceTLSMode(tlsMode TLSMode, tlsConfig *tls.Config) {
|
||||
if tlsConfig != nil {
|
||||
lc.tlsConfig = tlsConfig
|
||||
} else {
|
||||
//nolint gosec /* #nosec */
|
||||
//nolint #nosec
|
||||
/* #nosec */
|
||||
lc.tlsConfig = &tls.Config{}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user