Skip to content

Commit

Permalink
🚑 (main.go) defer fix
Browse files Browse the repository at this point in the history
  • Loading branch information
mmirko committed Oct 22, 2024
1 parent cf8daa8 commit f5b83b9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cmd/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -550,6 +550,7 @@ func (c *SyncConfig) infoData(force bool) error {
if err != nil {
return err
}
defer ls.Close()

err = ls.Bind(c.env["LDAP_SOURCE_BINDDN"], c.env["LDAP_SOURCE_PASSWORD"])
if err != nil {
Expand Down

0 comments on commit f5b83b9

Please sign in to comment.