fix: check for nil ldap connection in reconnect

This commit is contained in:
Stavros
2026-06-08 15:43:40 +03:00
parent ab6a2b4c38
commit 9f73f79a37
2 changed files with 8 additions and 3 deletions
+1 -1
View File
@@ -8,7 +8,7 @@ import (
)
func (app *BootstrapApp) setupServices() error {
ldapService, err := service.NewLdapService(app.log, app.config, app.ding)
ldapService, err := service.NewLdapService(app.log, app.config, app.ctx, app.ding)
if err != nil {
app.log.App.Warn().Err(err).Msg("Failed to initialize LDAP connection, will continue without it")