Skip to content

Commit

Permalink
Use gopkg.in/ldap.v3 3.1.0 (influxdata#6567)
Browse files Browse the repository at this point in the history
danielnelson authored and Mathieu Lecarme committed Apr 17, 2020
1 parent 286d706 commit 6fde528
Showing 4 changed files with 11 additions and 13 deletions.
10 changes: 5 additions & 5 deletions Gopkg.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions Gopkg.toml
Original file line number Diff line number Diff line change
@@ -201,10 +201,6 @@
name = "gopkg.in/gorethink/gorethink.v3"
version = "3.0.5"

[[constraint]]
name = "gopkg.in/ldap.v2"
version = "2.5.1"

[[constraint]]
name = "gopkg.in/mgo.v2"
branch = "v2"
@@ -301,3 +297,7 @@
[[constraint]]
branch = "master"
name = "github.com/cisco-ie/nx-telemetry-proto"

[[constraint]]
name = "gopkg.in/ldap.v3"
version = "3.1.0"
3 changes: 1 addition & 2 deletions plugins/inputs/openldap/openldap.go
Original file line number Diff line number Diff line change
@@ -5,11 +5,10 @@ import (
"strconv"
"strings"

"gopkg.in/ldap.v2"

"github.com/influxdata/telegraf"
"github.com/influxdata/telegraf/internal/tls"
"github.com/influxdata/telegraf/plugins/inputs"
"gopkg.in/ldap.v3"
)

type Openldap struct {
3 changes: 1 addition & 2 deletions plugins/inputs/openldap/openldap_test.go
Original file line number Diff line number Diff line change
@@ -4,11 +4,10 @@ import (
"strconv"
"testing"

"gopkg.in/ldap.v2"

"github.com/influxdata/telegraf/testutil"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
"gopkg.in/ldap.v3"
)

func TestOpenldapMockResult(t *testing.T) {

0 comments on commit 6fde528

Please sign in to comment.