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
This commit is contained in:
parent
3edbb44fa3
commit
83ff609001
2
ldap.go
2
ldap.go
@ -19,7 +19,7 @@ import (
|
|||||||
"github.com/coredns/coredns/plugin/pkg/upstream"
|
"github.com/coredns/coredns/plugin/pkg/upstream"
|
||||||
|
|
||||||
"github.com/miekg/dns"
|
"github.com/miekg/dns"
|
||||||
"gopkg.in/ldap.v3"
|
"github.com/go-ldap/ldap/v3"
|
||||||
)
|
)
|
||||||
|
|
||||||
type ldapRecord struct {
|
type ldapRecord struct {
|
||||||
|
3
setup.go
3
setup.go
@ -6,13 +6,12 @@ import (
|
|||||||
"sync"
|
"sync"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
|
"github.com/coredns/caddy"
|
||||||
"github.com/coredns/coredns/core/dnsserver"
|
"github.com/coredns/coredns/core/dnsserver"
|
||||||
"github.com/coredns/coredns/plugin"
|
"github.com/coredns/coredns/plugin"
|
||||||
"github.com/coredns/coredns/plugin/metrics"
|
"github.com/coredns/coredns/plugin/metrics"
|
||||||
clog "github.com/coredns/coredns/plugin/pkg/log"
|
clog "github.com/coredns/coredns/plugin/pkg/log"
|
||||||
"github.com/coredns/coredns/plugin/pkg/upstream"
|
"github.com/coredns/coredns/plugin/pkg/upstream"
|
||||||
|
|
||||||
"github.com/caddyserver/caddy"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
const pluginName = "ldap"
|
const pluginName = "ldap"
|
||||||
|
Loading…
Reference in New Issue
Block a user