Skip to content

Commit

Permalink
Fix for LDAP multiplatform initialization
Browse files Browse the repository at this point in the history
  • Loading branch information
lkarlslund committed Jun 10, 2022
1 parent 8fa2b66 commit 420c6a3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 13 deletions.
6 changes: 5 additions & 1 deletion modules/integrations/activedirectory/collect/ldap_common.go
Original file line number Diff line number Diff line change
Expand Up @@ -170,4 +170,8 @@ type LDAPDumper interface {
Dump(opts DumpOptions) ([]activedirectory.RawObject, error)
}

var CreateDumper func(opts LDAPOptions) LDAPDumper
var CreateDumper = func(opts LDAPOptions) LDAPDumper {
return &AD{
LDAPOptions: opts,
}
}
12 changes: 0 additions & 12 deletions modules/integrations/activedirectory/collect/ldap_others.go

This file was deleted.

0 comments on commit 420c6a3

Please sign in to comment.