From 83ff609001c29acd85467b00d07e417a0bd348d1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Busse?= Date: Wed, 10 Feb 2021 23:45:14 +0100 Subject: [PATCH] Make necessary changes wrt imports to compile against CoreDNS git HEAD There is still a problem with the metrics plugin which needs to be resolved --- ldap.go | 2 +- setup.go | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/ldap.go b/ldap.go index 4cec209..36c74da 100644 --- a/ldap.go +++ b/ldap.go @@ -19,7 +19,7 @@ import ( "github.com/coredns/coredns/plugin/pkg/upstream" "github.com/miekg/dns" - "gopkg.in/ldap.v3" + "github.com/go-ldap/ldap/v3" ) type ldapRecord struct { diff --git a/setup.go b/setup.go index 402b539..8fc8f10 100644 --- a/setup.go +++ b/setup.go @@ -6,13 +6,12 @@ import ( "sync" "time" + "github.com/coredns/caddy" "github.com/coredns/coredns/core/dnsserver" "github.com/coredns/coredns/plugin" "github.com/coredns/coredns/plugin/metrics" clog "github.com/coredns/coredns/plugin/pkg/log" "github.com/coredns/coredns/plugin/pkg/upstream" - - "github.com/caddyserver/caddy" ) const pluginName = "ldap"