From 2934fd63c275d37b0fe60afabb484a251662bd49 Mon Sep 17 00:00:00 2001 From: ale <ale@incal.net> Date: Sun, 17 Feb 2019 09:01:06 +0000 Subject: [PATCH] Update to go-ldap v3 --- ldap/parse.go | 2 +- ldap/pool.go | 2 +- ldap/pool_test.go | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ldap/parse.go b/ldap/parse.go index 2aec0b2..e2487e0 100644 --- a/ldap/parse.go +++ b/ldap/parse.go @@ -3,7 +3,7 @@ package ldaputil import ( "fmt" - "gopkg.in/ldap.v2" + "gopkg.in/ldap.v3" ) // ParseScope parses a string representation of an LDAP scope into the diff --git a/ldap/pool.go b/ldap/pool.go index 854c494..d1fd45c 100644 --- a/ldap/pool.go +++ b/ldap/pool.go @@ -9,7 +9,7 @@ import ( "github.com/cenkalti/backoff" "go.opencensus.io/trace" - "gopkg.in/ldap.v2" + "gopkg.in/ldap.v3" ) // Parameters that define the exponential backoff algorithm used. diff --git a/ldap/pool_test.go b/ldap/pool_test.go index a0b2d59..ee0d60c 100644 --- a/ldap/pool_test.go +++ b/ldap/pool_test.go @@ -8,7 +8,7 @@ import ( "time" "gopkg.in/asn1-ber.v1" - "gopkg.in/ldap.v2" + "gopkg.in/ldap.v3" ) type tcpHandler interface { -- GitLab