Skip to content

Commit

Permalink
update import
Browse files Browse the repository at this point in the history
  • Loading branch information
peter committed Jan 26, 2024
1 parent 2d0b78e commit b8936fd
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 7 deletions.
3 changes: 2 additions & 1 deletion inputs/ldap/389ds.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,10 @@ import (
"strings"
"time"

"github.com/go-ldap/ldap/v3"

"flashcat.cloud/categraf/types"
"flashcat.cloud/categraf/types/metric"
"github.com/go-ldap/ldap/v3"
)

// Empty mappings are identity mappings
Expand Down
12 changes: 7 additions & 5 deletions inputs/ldap/ldap.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,17 @@ package ldap
import (
"crypto/tls"
"errors"
"flashcat.cloud/categraf/config"
"flashcat.cloud/categraf/inputs"
commontls "flashcat.cloud/categraf/pkg/tls"
"flashcat.cloud/categraf/types"
"fmt"
"github.com/go-ldap/ldap/v3"
"log"
"net/url"
"time"

"github.com/go-ldap/ldap/v3"

commontls "flashcat.cloud/categraf/pkg/tls"
"flashcat.cloud/categraf/config"
"flashcat.cloud/categraf/inputs"
"flashcat.cloud/categraf/types"
)

const inputName = "ldap"
Expand Down
3 changes: 2 additions & 1 deletion inputs/ldap/openldap.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,10 @@ import (
"strings"
"time"

"github.com/go-ldap/ldap/v3"

"flashcat.cloud/categraf/types"
"flashcat.cloud/categraf/types/metric"
"github.com/go-ldap/ldap/v3"
)

var attrMapOpenLDAP = map[string]string{
Expand Down

0 comments on commit b8936fd

Please sign in to comment.