Update Caddy to 1.0.1, and update import path (#2961)

* Update Caddy to 1.0.1, and update import path

This fix updates caddy to 1.0.1 and also
updates the import path to github.com/caddyserver/caddy

This fix fixes 2959

Signed-off-by: Yong Tang <yong.tang.github@outlook.com>

* Also update plugin.cfg

Signed-off-by: Yong Tang <yong.tang.github@outlook.com>

* Update and bump zplugin.go

Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
This commit is contained in:
Yong Tang 2019-07-03 09:04:47 +08:00 committed by GitHub
parent 22c6e3e179
commit f8bba51f84
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
102 changed files with 114 additions and 109 deletions

View file

@ -6,7 +6,7 @@ import (
"github.com/coredns/coredns/plugin" "github.com/coredns/coredns/plugin"
"github.com/mholt/caddy" "github.com/caddyserver/caddy"
) )
// Config configuration for a single server. // Config configuration for a single server.

View file

@ -12,8 +12,8 @@ import (
"github.com/coredns/coredns/plugin/pkg/parse" "github.com/coredns/coredns/plugin/pkg/parse"
"github.com/coredns/coredns/plugin/pkg/transport" "github.com/coredns/coredns/plugin/pkg/transport"
"github.com/mholt/caddy" "github.com/caddyserver/caddy"
"github.com/mholt/caddy/caddyfile" "github.com/caddyserver/caddy/caddyfile"
) )
const serverType = "dns" const serverType = "dns"

View file

@ -4,6 +4,7 @@ package plugin
import ( import (
// Include all plugins. // Include all plugins.
_ "github.com/caddyserver/caddy/onevent"
_ "github.com/coredns/coredns/plugin/any" _ "github.com/coredns/coredns/plugin/any"
_ "github.com/coredns/coredns/plugin/auto" _ "github.com/coredns/coredns/plugin/auto"
_ "github.com/coredns/coredns/plugin/autopath" _ "github.com/coredns/coredns/plugin/autopath"
@ -42,5 +43,4 @@ import (
_ "github.com/coredns/coredns/plugin/tls" _ "github.com/coredns/coredns/plugin/tls"
_ "github.com/coredns/coredns/plugin/trace" _ "github.com/coredns/coredns/plugin/trace"
_ "github.com/coredns/coredns/plugin/whoami" _ "github.com/coredns/coredns/plugin/whoami"
_ "github.com/mholt/caddy/onevent"
) )

View file

@ -15,7 +15,7 @@ import (
"github.com/coredns/coredns/core/dnsserver" "github.com/coredns/coredns/core/dnsserver"
clog "github.com/coredns/coredns/plugin/pkg/log" clog "github.com/coredns/coredns/plugin/pkg/log"
"github.com/mholt/caddy" "github.com/caddyserver/caddy"
) )
func init() { func init() {

2
go.mod
View file

@ -7,6 +7,7 @@ require (
github.com/Shopify/sarama v1.21.0 // indirect github.com/Shopify/sarama v1.21.0 // indirect
github.com/apache/thrift v0.12.0 // indirect github.com/apache/thrift v0.12.0 // indirect
github.com/aws/aws-sdk-go v1.20.5 github.com/aws/aws-sdk-go v1.20.5
github.com/caddyserver/caddy v1.0.1
github.com/coreos/bbolt v1.3.2 // indirect github.com/coreos/bbolt v1.3.2 // indirect
github.com/coreos/etcd v3.3.13+incompatible github.com/coreos/etcd v3.3.13+incompatible
github.com/coreos/go-semver v0.2.0 // indirect github.com/coreos/go-semver v0.2.0 // indirect
@ -31,7 +32,6 @@ require (
github.com/jonboulle/clockwork v0.1.0 // indirect github.com/jonboulle/clockwork v0.1.0 // indirect
github.com/konsorten/go-windows-terminal-sequences v1.0.2 // indirect github.com/konsorten/go-windows-terminal-sequences v1.0.2 // indirect
github.com/matttproud/golang_protobuf_extensions v1.0.1 github.com/matttproud/golang_protobuf_extensions v1.0.1
github.com/mholt/caddy v1.0.0
github.com/miekg/dns v1.1.14 github.com/miekg/dns v1.1.14
github.com/opentracing-contrib/go-observer v0.0.0-20170622124052-a52f23424492 // indirect github.com/opentracing-contrib/go-observer v0.0.0-20170622124052-a52f23424492 // indirect
github.com/opentracing/opentracing-go v1.1.0 github.com/opentracing/opentracing-go v1.1.0

11
go.sum
View file

@ -20,6 +20,9 @@ github.com/beorn7/perks v0.0.0-20180321164747-3a771d992973/go.mod h1:Dwedo/Wpr24
github.com/beorn7/perks v1.0.0 h1:HWo1m869IqiPhD389kmkxeTalrjNbbJTC8LXupb+sl0= github.com/beorn7/perks v1.0.0 h1:HWo1m869IqiPhD389kmkxeTalrjNbbJTC8LXupb+sl0=
github.com/beorn7/perks v1.0.0/go.mod h1:KWe93zE9D1o94FZ5RNwFwVgaQK1VOXiVxmqh+CedLV8= github.com/beorn7/perks v1.0.0/go.mod h1:KWe93zE9D1o94FZ5RNwFwVgaQK1VOXiVxmqh+CedLV8=
github.com/bifurcation/mint v0.0.0-20180715133206-93c51c6ce115/go.mod h1:zVt7zX3K/aDCk9Tj+VM7YymsX66ERvzCJzw8rFCX2JU= github.com/bifurcation/mint v0.0.0-20180715133206-93c51c6ce115/go.mod h1:zVt7zX3K/aDCk9Tj+VM7YymsX66ERvzCJzw8rFCX2JU=
github.com/caddyserver/caddy v1.0.1 h1:oor6ep+8NoJOabpFXhvjqjfeldtw1XSzfISVrbfqTKo=
github.com/caddyserver/caddy v1.0.1/go.mod h1:G+ouvOY32gENkJC+jhgl62TyhvqEsFaDiZ4uw0RzP1E=
github.com/cenkalti/backoff v2.1.1+incompatible h1:tKJnvO2kl0zmb/jA5UKAt4VoEVw1qxKWjE/Bpp46npY=
github.com/cenkalti/backoff v2.1.1+incompatible/go.mod h1:90ReRw6GdpyfrHakVjL/QHaoyV4aDUVVkXQJJJ3NXXM= github.com/cenkalti/backoff v2.1.1+incompatible/go.mod h1:90ReRw6GdpyfrHakVjL/QHaoyV4aDUVVkXQJJJ3NXXM=
github.com/cheekybits/genny v0.0.0-20170328200008-9127e812e1e9/go.mod h1:+tQajlRqAUrPI7DOSpB0XAqZYtQakVtB7wXkRAgjxjQ= github.com/cheekybits/genny v0.0.0-20170328200008-9127e812e1e9/go.mod h1:+tQajlRqAUrPI7DOSpB0XAqZYtQakVtB7wXkRAgjxjQ=
github.com/client9/misspell v0.3.4/go.mod h1:qj6jICC3Q7zFZvVWo7KLAzC3yx5G7kyvSDkc90ppPyw= github.com/client9/misspell v0.3.4/go.mod h1:qj6jICC3Q7zFZvVWo7KLAzC3yx5G7kyvSDkc90ppPyw=
@ -57,6 +60,7 @@ github.com/fsnotify/fsnotify v1.4.7 h1:IXs+QLmnXW2CcXuY+8Mzv/fWEsPGWxqefPtCP5CnV
github.com/fsnotify/fsnotify v1.4.7/go.mod h1:jwhsz4b93w/PPRr/qN1Yymfu8t87LnFCMoQvtojpjFo= github.com/fsnotify/fsnotify v1.4.7/go.mod h1:jwhsz4b93w/PPRr/qN1Yymfu8t87LnFCMoQvtojpjFo=
github.com/ghodss/yaml v1.0.0 h1:wQHKEahhL6wmXdzwWG11gIVCkOv05bNOh+Rxn0yngAk= github.com/ghodss/yaml v1.0.0 h1:wQHKEahhL6wmXdzwWG11gIVCkOv05bNOh+Rxn0yngAk=
github.com/ghodss/yaml v1.0.0/go.mod h1:4dBDuWmgqj2HViK6kFavaiC9ZROes6MMH2rRYeMEF04= github.com/ghodss/yaml v1.0.0/go.mod h1:4dBDuWmgqj2HViK6kFavaiC9ZROes6MMH2rRYeMEF04=
github.com/go-acme/lego v2.5.0+incompatible h1:5fNN9yRQfv8ymH3DSsxla+4aYeQt2IgfZqHKVnK8f0s=
github.com/go-acme/lego v2.5.0+incompatible/go.mod h1:yzMNe9CasVUhkquNvti5nAtPmG94USbYxYrZfTkIn0M= github.com/go-acme/lego v2.5.0+incompatible/go.mod h1:yzMNe9CasVUhkquNvti5nAtPmG94USbYxYrZfTkIn0M=
github.com/go-kit/kit v0.8.0/go.mod h1:xBxKIO96dXMWWy0MnWVtmwkA9/13aqxPnvrjFYMA2as= github.com/go-kit/kit v0.8.0/go.mod h1:xBxKIO96dXMWWy0MnWVtmwkA9/13aqxPnvrjFYMA2as=
github.com/go-logfmt/logfmt v0.3.0/go.mod h1:Qt1PoO58o5twSAckw1HlFXLmHsOX5/0LbT9GBnD5lWE= github.com/go-logfmt/logfmt v0.3.0/go.mod h1:Qt1PoO58o5twSAckw1HlFXLmHsOX5/0LbT9GBnD5lWE=
@ -123,6 +127,7 @@ github.com/jstemmer/go-junit-report v0.0.0-20190106144839-af01ea7f8024/go.mod h1
github.com/julienschmidt/httprouter v1.2.0/go.mod h1:SYymIcj16QtmaHHD7aYtjjsJG7VTCxuUUipMqKk8s4w= github.com/julienschmidt/httprouter v1.2.0/go.mod h1:SYymIcj16QtmaHHD7aYtjjsJG7VTCxuUUipMqKk8s4w=
github.com/kisielk/errcheck v1.1.0/go.mod h1:EZBBE59ingxPouuu3KfxchcWSUPOHkagtvWXihfKN4Q= github.com/kisielk/errcheck v1.1.0/go.mod h1:EZBBE59ingxPouuu3KfxchcWSUPOHkagtvWXihfKN4Q=
github.com/kisielk/gotool v1.0.0/go.mod h1:XhKaO+MFFWcvkIS/tQcRk01m1F5IRFswLeQ+oQHNcck= github.com/kisielk/gotool v1.0.0/go.mod h1:XhKaO+MFFWcvkIS/tQcRk01m1F5IRFswLeQ+oQHNcck=
github.com/klauspost/cpuid v1.2.0 h1:NMpwD2G9JSFOE1/TJjGSo5zG7Yb2bTe7eq1jH+irmeE=
github.com/klauspost/cpuid v1.2.0/go.mod h1:Pj4uuM528wm8OyEC2QMXAi2YiTZ96dNQPGgoMS4s3ek= github.com/klauspost/cpuid v1.2.0/go.mod h1:Pj4uuM528wm8OyEC2QMXAi2YiTZ96dNQPGgoMS4s3ek=
github.com/konsorten/go-windows-terminal-sequences v1.0.1/go.mod h1:T0+1ngSBFLxvqU3pZ+m/2kptfBszLMUkC4ZK/EgS/cQ= github.com/konsorten/go-windows-terminal-sequences v1.0.1/go.mod h1:T0+1ngSBFLxvqU3pZ+m/2kptfBszLMUkC4ZK/EgS/cQ=
github.com/konsorten/go-windows-terminal-sequences v1.0.2 h1:DB17ag19krx9CFsz4o3enTrPXyIXCl+2iCXH/aMAp9s= github.com/konsorten/go-windows-terminal-sequences v1.0.2 h1:DB17ag19krx9CFsz4o3enTrPXyIXCl+2iCXH/aMAp9s=
@ -142,9 +147,8 @@ github.com/lucas-clemente/quic-go-certificates v0.0.0-20160823095156-d2f86524cce
github.com/marten-seemann/qtls v0.2.3/go.mod h1:xzjG7avBwGGbdZ8dTGxlBnLArsVKLvwmjgmPuiQEcYk= github.com/marten-seemann/qtls v0.2.3/go.mod h1:xzjG7avBwGGbdZ8dTGxlBnLArsVKLvwmjgmPuiQEcYk=
github.com/matttproud/golang_protobuf_extensions v1.0.1 h1:4hp9jkHxhMHkqkrB3Ix0jegS5sx/RkqARlsWZ6pIwiU= github.com/matttproud/golang_protobuf_extensions v1.0.1 h1:4hp9jkHxhMHkqkrB3Ix0jegS5sx/RkqARlsWZ6pIwiU=
github.com/matttproud/golang_protobuf_extensions v1.0.1/go.mod h1:D8He9yQNgCq6Z5Ld7szi9bcBfOoFv/3dc6xSMkL2PC0= github.com/matttproud/golang_protobuf_extensions v1.0.1/go.mod h1:D8He9yQNgCq6Z5Ld7szi9bcBfOoFv/3dc6xSMkL2PC0=
github.com/mholt/caddy v1.0.0 h1:KI6RPGih2GFzWRPG8s9clKK28Ns4ZlVMKR/v7mxq6+c= github.com/mholt/certmagic v0.6.2-0.20190624175158-6a42ef9fe8c2 h1:xKE9kZ5C8gelJC3+BNM6LJs1x21rivK7yxfTZMAuY2s=
github.com/mholt/caddy v1.0.0/go.mod h1:PzUpQ3yGCTuEuy0KSxEeB4TZOi3zBZ8BR/zY0RBP414= github.com/mholt/certmagic v0.6.2-0.20190624175158-6a42ef9fe8c2/go.mod h1:g4cOPxcjV0oFq3qwpjSA30LReKD8AoIfwAY9VvG35NY=
github.com/mholt/certmagic v0.5.0/go.mod h1:g4cOPxcjV0oFq3qwpjSA30LReKD8AoIfwAY9VvG35NY=
github.com/miekg/dns v1.1.14 h1:wkQWn9wIp4mZbwW8XV6Km6owkvRPbOiV004ZM2CkGvA= github.com/miekg/dns v1.1.14 h1:wkQWn9wIp4mZbwW8XV6Km6owkvRPbOiV004ZM2CkGvA=
github.com/miekg/dns v1.1.14/go.mod h1:W1PPwlIAgtquWBMBEV9nkV9Cazfe8ScdGz/Lj7v3Nrg= github.com/miekg/dns v1.1.14/go.mod h1:W1PPwlIAgtquWBMBEV9nkV9Cazfe8ScdGz/Lj7v3Nrg=
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd h1:TRLaZ9cD/w8PVh93nsPXa1VrQ6jlwL5oN8l14QlcNfg= github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd h1:TRLaZ9cD/w8PVh93nsPXa1VrQ6jlwL5oN8l14QlcNfg=
@ -324,6 +328,7 @@ gopkg.in/inf.v0 v0.9.1/go.mod h1:cWUDdTG/fYaXco+Dcufb5Vnc6Gp2YChqWtbxRZE0mXw=
gopkg.in/mcuadros/go-syslog.v2 v2.2.1/go.mod h1:l5LPIyOOyIdQquNg+oU6Z3524YwrcqEm0aKH+5zpt2U= gopkg.in/mcuadros/go-syslog.v2 v2.2.1/go.mod h1:l5LPIyOOyIdQquNg+oU6Z3524YwrcqEm0aKH+5zpt2U=
gopkg.in/natefinch/lumberjack.v2 v2.0.0/go.mod h1:l0ndWWf7gzL7RNwBG7wST/UCcT4T24xpD6X8LsfU/+k= gopkg.in/natefinch/lumberjack.v2 v2.0.0/go.mod h1:l0ndWWf7gzL7RNwBG7wST/UCcT4T24xpD6X8LsfU/+k=
gopkg.in/resty.v1 v1.12.0/go.mod h1:mDo4pnntr5jdWRML875a/NmxYqAlA73dVijT2AXvQQo= gopkg.in/resty.v1 v1.12.0/go.mod h1:mDo4pnntr5jdWRML875a/NmxYqAlA73dVijT2AXvQQo=
gopkg.in/square/go-jose.v2 v2.2.2 h1:orlkJ3myw8CN1nVQHBFfloD+L3egixIa4FvUP6RosSA=
gopkg.in/square/go-jose.v2 v2.2.2/go.mod h1:M9dMgbHiYLoDGQrXy7OpJDJWiKiU//h+vD76mk0e1AI= gopkg.in/square/go-jose.v2 v2.2.2/go.mod h1:M9dMgbHiYLoDGQrXy7OpJDJWiKiU//h+vD76mk0e1AI=
gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 h1:uRGJdciOHaEIrze2W8Q3AKkepLTh2hOroT7a+7czfdQ= gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 h1:uRGJdciOHaEIrze2W8Q3AKkepLTh2hOroT7a+7czfdQ=
gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7/go.mod h1:dt/ZhP58zS4L8KSrWDmTeBkI65Dw0HsyUHuEVlX15mw= gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7/go.mod h1:dt/ZhP58zS4L8KSrWDmTeBkI65Dw0HsyUHuEVlX15mw=

View file

@ -57,4 +57,4 @@ forward:forward
grpc:grpc grpc:grpc
erratic:erratic erratic:erratic
whoami:whoami whoami:whoami
on:github.com/mholt/caddy/onevent on:github.com/caddyserver/caddy/onevent

View file

@ -4,7 +4,7 @@ import (
"github.com/coredns/coredns/core/dnsserver" "github.com/coredns/coredns/core/dnsserver"
"github.com/coredns/coredns/plugin" "github.com/coredns/coredns/plugin"
"github.com/mholt/caddy" "github.com/caddyserver/caddy"
) )
func init() { func init() {

View file

@ -13,7 +13,7 @@ import (
"github.com/coredns/coredns/plugin/pkg/parse" "github.com/coredns/coredns/plugin/pkg/parse"
"github.com/coredns/coredns/plugin/pkg/upstream" "github.com/coredns/coredns/plugin/pkg/upstream"
"github.com/mholt/caddy" "github.com/caddyserver/caddy"
) )
var log = clog.NewWithPlugin("auto") var log = clog.NewWithPlugin("auto")

View file

@ -4,7 +4,7 @@ import (
"testing" "testing"
"time" "time"
"github.com/mholt/caddy" "github.com/caddyserver/caddy"
) )
func TestAutoParse(t *testing.T) { func TestAutoParse(t *testing.T) {

View file

@ -7,7 +7,7 @@ import (
"github.com/coredns/coredns/plugin" "github.com/coredns/coredns/plugin"
"github.com/coredns/coredns/plugin/metrics" "github.com/coredns/coredns/plugin/metrics"
"github.com/mholt/caddy" "github.com/caddyserver/caddy"
"github.com/miekg/dns" "github.com/miekg/dns"
) )

View file

@ -8,7 +8,7 @@ import (
"github.com/coredns/coredns/plugin/test" "github.com/coredns/coredns/plugin/test"
"github.com/mholt/caddy" "github.com/caddyserver/caddy"
) )
func TestSetupAutoPath(t *testing.T) { func TestSetupAutoPath(t *testing.T) {

View file

@ -1,7 +1,7 @@
// Package bind allows binding to a specific interface instead of bind to all of them. // Package bind allows binding to a specific interface instead of bind to all of them.
package bind package bind
import "github.com/mholt/caddy" import "github.com/caddyserver/caddy"
func init() { func init() {
caddy.RegisterPlugin("bind", caddy.Plugin{ caddy.RegisterPlugin("bind", caddy.Plugin{

View file

@ -7,7 +7,7 @@ import (
"github.com/coredns/coredns/core/dnsserver" "github.com/coredns/coredns/core/dnsserver"
"github.com/coredns/coredns/plugin" "github.com/coredns/coredns/plugin"
"github.com/mholt/caddy" "github.com/caddyserver/caddy"
) )
func setup(c *caddy.Controller) error { func setup(c *caddy.Controller) error {

View file

@ -5,7 +5,7 @@ import (
"github.com/coredns/coredns/core/dnsserver" "github.com/coredns/coredns/core/dnsserver"
"github.com/mholt/caddy" "github.com/caddyserver/caddy"
) )
func TestSetup(t *testing.T) { func TestSetup(t *testing.T) {

View file

@ -11,7 +11,7 @@ import (
"github.com/coredns/coredns/plugin/pkg/cache" "github.com/coredns/coredns/plugin/pkg/cache"
clog "github.com/coredns/coredns/plugin/pkg/log" clog "github.com/coredns/coredns/plugin/pkg/log"
"github.com/mholt/caddy" "github.com/caddyserver/caddy"
) )
var log = clog.NewWithPlugin("cache") var log = clog.NewWithPlugin("cache")

View file

@ -4,7 +4,7 @@ import (
"testing" "testing"
"time" "time"
"github.com/mholt/caddy" "github.com/caddyserver/caddy"
) )
func TestSetup(t *testing.T) { func TestSetup(t *testing.T) {

View file

@ -9,7 +9,7 @@ import (
"github.com/coredns/coredns/core/dnsserver" "github.com/coredns/coredns/core/dnsserver"
"github.com/coredns/coredns/plugin" "github.com/coredns/coredns/plugin"
"github.com/mholt/caddy" "github.com/caddyserver/caddy"
"github.com/miekg/dns" "github.com/miekg/dns"
) )

View file

@ -3,7 +3,7 @@ package cancel
import ( import (
"testing" "testing"
"github.com/mholt/caddy" "github.com/caddyserver/caddy"
) )
func TestSetup(t *testing.T) { func TestSetup(t *testing.T) {

View file

@ -8,7 +8,7 @@ import (
"github.com/coredns/coredns/core/dnsserver" "github.com/coredns/coredns/core/dnsserver"
"github.com/coredns/coredns/plugin" "github.com/coredns/coredns/plugin"
"github.com/mholt/caddy" "github.com/caddyserver/caddy"
) )
func init() { func init() {

View file

@ -4,7 +4,7 @@ import (
"strings" "strings"
"testing" "testing"
"github.com/mholt/caddy" "github.com/caddyserver/caddy"
) )
func TestSetupChaos(t *testing.T) { func TestSetupChaos(t *testing.T) {

View file

@ -4,7 +4,7 @@ import (
"github.com/coredns/coredns/core/dnsserver" "github.com/coredns/coredns/core/dnsserver"
"github.com/coredns/coredns/plugin" "github.com/coredns/coredns/plugin"
"github.com/mholt/caddy" "github.com/caddyserver/caddy"
) )
func init() { func init() {

View file

@ -5,7 +5,7 @@ import (
"github.com/coredns/coredns/core/dnsserver" "github.com/coredns/coredns/core/dnsserver"
"github.com/mholt/caddy" "github.com/caddyserver/caddy"
) )
func TestDebug(t *testing.T) { func TestDebug(t *testing.T) {

View file

@ -1,6 +1,6 @@
// Package deprecated is used when we deprecated plugin. In plugin.cfg just go from // Package deprecated is used when we deprecated plugin. In plugin.cfg just go from
// //
// startup:github.com/mholt/caddy/startupshutdown // startup:github.com/caddyserver/caddy/startupshutdown
// //
// To: // To:
// //
@ -16,7 +16,7 @@ import (
"github.com/coredns/coredns/plugin" "github.com/coredns/coredns/plugin"
"github.com/mholt/caddy" "github.com/caddyserver/caddy"
) )
// removed has the names of the plugins that need to error on startup. // removed has the names of the plugins that need to error on startup.

View file

@ -12,7 +12,7 @@ import (
"github.com/coredns/coredns/plugin/pkg/cache" "github.com/coredns/coredns/plugin/pkg/cache"
clog "github.com/coredns/coredns/plugin/pkg/log" clog "github.com/coredns/coredns/plugin/pkg/log"
"github.com/mholt/caddy" "github.com/caddyserver/caddy"
) )
var log = clog.NewWithPlugin("dnssec") var log = clog.NewWithPlugin("dnssec")

View file

@ -6,7 +6,7 @@ import (
"strings" "strings"
"testing" "testing"
"github.com/mholt/caddy" "github.com/caddyserver/caddy"
) )
func TestSetupDnssec(t *testing.T) { func TestSetupDnssec(t *testing.T) {

View file

@ -9,8 +9,8 @@ import (
clog "github.com/coredns/coredns/plugin/pkg/log" clog "github.com/coredns/coredns/plugin/pkg/log"
"github.com/coredns/coredns/plugin/pkg/parse" "github.com/coredns/coredns/plugin/pkg/parse"
"github.com/mholt/caddy" "github.com/caddyserver/caddy"
"github.com/mholt/caddy/caddyfile" "github.com/caddyserver/caddy/caddyfile"
) )
var log = clog.NewWithPlugin("dnstap") var log = clog.NewWithPlugin("dnstap")

View file

@ -3,7 +3,7 @@ package dnstap
import ( import (
"testing" "testing"
"github.com/mholt/caddy" "github.com/caddyserver/caddy"
) )
func TestConfig(t *testing.T) { func TestConfig(t *testing.T) {

View file

@ -8,7 +8,7 @@ import (
"github.com/coredns/coredns/core/dnsserver" "github.com/coredns/coredns/core/dnsserver"
"github.com/coredns/coredns/plugin" "github.com/coredns/coredns/plugin"
"github.com/mholt/caddy" "github.com/caddyserver/caddy"
) )
func init() { func init() {

View file

@ -3,7 +3,7 @@ package erratic
import ( import (
"testing" "testing"
"github.com/mholt/caddy" "github.com/caddyserver/caddy"
) )
func TestSetup(t *testing.T) { func TestSetup(t *testing.T) {

View file

@ -7,7 +7,7 @@ import (
"github.com/coredns/coredns/core/dnsserver" "github.com/coredns/coredns/core/dnsserver"
"github.com/coredns/coredns/plugin" "github.com/coredns/coredns/plugin"
"github.com/mholt/caddy" "github.com/caddyserver/caddy"
) )
func init() { func init() {

View file

@ -3,7 +3,7 @@ package errors
import ( import (
"testing" "testing"
"github.com/mholt/caddy" "github.com/caddyserver/caddy"
) )
func TestErrorsParse(t *testing.T) { func TestErrorsParse(t *testing.T) {

View file

@ -10,7 +10,7 @@ import (
"github.com/coredns/coredns/plugin/pkg/upstream" "github.com/coredns/coredns/plugin/pkg/upstream"
etcdcv3 "github.com/coreos/etcd/clientv3" etcdcv3 "github.com/coreos/etcd/clientv3"
"github.com/mholt/caddy" "github.com/caddyserver/caddy"
) )
var log = clog.NewWithPlugin("etcd") var log = clog.NewWithPlugin("etcd")

View file

@ -6,7 +6,7 @@ import (
"strings" "strings"
"testing" "testing"
"github.com/mholt/caddy" "github.com/caddyserver/caddy"
) )
func TestSetupEtcd(t *testing.T) { func TestSetupEtcd(t *testing.T) {

View file

@ -9,7 +9,7 @@ import (
"github.com/coredns/coredns/plugin/pkg/upstream" "github.com/coredns/coredns/plugin/pkg/upstream"
"github.com/miekg/dns" "github.com/miekg/dns"
"github.com/mholt/caddy" "github.com/caddyserver/caddy"
) )
func init() { func init() {

View file

@ -3,7 +3,7 @@ package federation
import ( import (
"testing" "testing"
"github.com/mholt/caddy" "github.com/caddyserver/caddy"
) )
func TestSetup(t *testing.T) { func TestSetup(t *testing.T) {

View file

@ -10,7 +10,7 @@ import (
"github.com/coredns/coredns/plugin/pkg/parse" "github.com/coredns/coredns/plugin/pkg/parse"
"github.com/coredns/coredns/plugin/pkg/upstream" "github.com/coredns/coredns/plugin/pkg/upstream"
"github.com/mholt/caddy" "github.com/caddyserver/caddy"
) )
func init() { func init() {

View file

@ -5,7 +5,7 @@ import (
"github.com/coredns/coredns/plugin/test" "github.com/coredns/coredns/plugin/test"
"github.com/mholt/caddy" "github.com/caddyserver/caddy"
) )
func TestFileParse(t *testing.T) { func TestFileParse(t *testing.T) {

View file

@ -9,7 +9,7 @@ import (
"github.com/coredns/coredns/plugin/test" "github.com/coredns/coredns/plugin/test"
"github.com/coredns/coredns/request" "github.com/coredns/coredns/request"
"github.com/mholt/caddy" "github.com/caddyserver/caddy"
"github.com/miekg/dns" "github.com/miekg/dns"
) )

View file

@ -12,8 +12,8 @@ import (
pkgtls "github.com/coredns/coredns/plugin/pkg/tls" pkgtls "github.com/coredns/coredns/plugin/pkg/tls"
"github.com/coredns/coredns/plugin/pkg/transport" "github.com/coredns/coredns/plugin/pkg/transport"
"github.com/mholt/caddy" "github.com/caddyserver/caddy"
"github.com/mholt/caddy/caddyfile" "github.com/caddyserver/caddy/caddyfile"
) )
func init() { func init() {

View file

@ -4,7 +4,7 @@ import (
"strings" "strings"
"testing" "testing"
"github.com/mholt/caddy" "github.com/caddyserver/caddy"
) )
func TestSetupPolicy(t *testing.T) { func TestSetupPolicy(t *testing.T) {

View file

@ -7,7 +7,7 @@ import (
"strings" "strings"
"testing" "testing"
"github.com/mholt/caddy" "github.com/caddyserver/caddy"
) )
func TestSetup(t *testing.T) { func TestSetup(t *testing.T) {

View file

@ -10,8 +10,8 @@ import (
"github.com/coredns/coredns/plugin/pkg/parse" "github.com/coredns/coredns/plugin/pkg/parse"
pkgtls "github.com/coredns/coredns/plugin/pkg/tls" pkgtls "github.com/coredns/coredns/plugin/pkg/tls"
"github.com/mholt/caddy" "github.com/caddyserver/caddy"
"github.com/mholt/caddy/caddyfile" "github.com/caddyserver/caddy/caddyfile"
) )
func init() { func init() {

View file

@ -4,7 +4,7 @@ import (
"strings" "strings"
"testing" "testing"
"github.com/mholt/caddy" "github.com/caddyserver/caddy"
) )
func TestSetupPolicy(t *testing.T) { func TestSetupPolicy(t *testing.T) {

View file

@ -7,7 +7,7 @@ import (
"strings" "strings"
"testing" "testing"
"github.com/mholt/caddy" "github.com/caddyserver/caddy"
) )
func TestSetup(t *testing.T) { func TestSetup(t *testing.T) {

View file

@ -8,7 +8,7 @@ import (
"github.com/coredns/coredns/plugin" "github.com/coredns/coredns/plugin"
"github.com/coredns/coredns/plugin/metrics" "github.com/coredns/coredns/plugin/metrics"
"github.com/mholt/caddy" "github.com/caddyserver/caddy"
) )
func init() { func init() {

View file

@ -3,7 +3,7 @@ package health
import ( import (
"testing" "testing"
"github.com/mholt/caddy" "github.com/caddyserver/caddy"
) )
func TestSetupHealth(t *testing.T) { func TestSetupHealth(t *testing.T) {

View file

@ -11,7 +11,7 @@ import (
"github.com/coredns/coredns/plugin" "github.com/coredns/coredns/plugin"
clog "github.com/coredns/coredns/plugin/pkg/log" clog "github.com/coredns/coredns/plugin/pkg/log"
"github.com/mholt/caddy" "github.com/caddyserver/caddy"
) )
var log = clog.NewWithPlugin("hosts") var log = clog.NewWithPlugin("hosts")

View file

@ -5,7 +5,7 @@ import (
"github.com/coredns/coredns/plugin/pkg/fall" "github.com/coredns/coredns/plugin/pkg/fall"
"github.com/mholt/caddy" "github.com/caddyserver/caddy"
) )
func TestHostsParse(t *testing.T) { func TestHostsParse(t *testing.T) {

View file

@ -6,7 +6,7 @@ import (
"github.com/coredns/coredns/core/dnsserver" "github.com/coredns/coredns/core/dnsserver"
"github.com/coredns/coredns/plugin" "github.com/coredns/coredns/plugin"
"github.com/mholt/caddy" "github.com/caddyserver/caddy"
) )
func init() { func init() {

View file

@ -3,7 +3,7 @@ package external
import ( import (
"testing" "testing"
"github.com/mholt/caddy" "github.com/caddyserver/caddy"
) )
func TestSetup(t *testing.T) { func TestSetup(t *testing.T) {

View file

@ -16,7 +16,7 @@ import (
"github.com/coredns/coredns/plugin/pkg/parse" "github.com/coredns/coredns/plugin/pkg/parse"
"github.com/coredns/coredns/plugin/pkg/upstream" "github.com/coredns/coredns/plugin/pkg/upstream"
"github.com/mholt/caddy" "github.com/caddyserver/caddy"
"github.com/miekg/dns" "github.com/miekg/dns"
meta "k8s.io/apimachinery/pkg/apis/meta/v1" meta "k8s.io/apimachinery/pkg/apis/meta/v1"

View file

@ -3,7 +3,7 @@ package kubernetes
import ( import (
"testing" "testing"
"github.com/mholt/caddy" "github.com/caddyserver/caddy"
) )
func TestKubernetesParseReverseZone(t *testing.T) { func TestKubernetesParseReverseZone(t *testing.T) {

View file

@ -7,7 +7,7 @@ import (
"github.com/coredns/coredns/plugin/pkg/fall" "github.com/coredns/coredns/plugin/pkg/fall"
"github.com/mholt/caddy" "github.com/caddyserver/caddy"
meta "k8s.io/apimachinery/pkg/apis/meta/v1" meta "k8s.io/apimachinery/pkg/apis/meta/v1"
) )

View file

@ -3,7 +3,7 @@ package kubernetes
import ( import (
"testing" "testing"
"github.com/mholt/caddy" "github.com/caddyserver/caddy"
) )
func TestKubernetesParseTransfer(t *testing.T) { func TestKubernetesParseTransfer(t *testing.T) {

View file

@ -3,7 +3,7 @@ package kubernetes
import ( import (
"testing" "testing"
"github.com/mholt/caddy" "github.com/caddyserver/caddy"
) )
func TestKubernetesParseTTL(t *testing.T) { func TestKubernetesParseTTL(t *testing.T) {

View file

@ -7,7 +7,7 @@ import (
"github.com/coredns/coredns/plugin" "github.com/coredns/coredns/plugin"
clog "github.com/coredns/coredns/plugin/pkg/log" clog "github.com/coredns/coredns/plugin/pkg/log"
"github.com/mholt/caddy" "github.com/caddyserver/caddy"
) )
var log = clog.NewWithPlugin("loadbalance") var log = clog.NewWithPlugin("loadbalance")

View file

@ -4,7 +4,7 @@ import (
"strings" "strings"
"testing" "testing"
"github.com/mholt/caddy" "github.com/caddyserver/caddy"
) )
func TestSetup(t *testing.T) { func TestSetup(t *testing.T) {

View file

@ -8,7 +8,7 @@ import (
"github.com/coredns/coredns/plugin/pkg/replacer" "github.com/coredns/coredns/plugin/pkg/replacer"
"github.com/coredns/coredns/plugin/pkg/response" "github.com/coredns/coredns/plugin/pkg/response"
"github.com/mholt/caddy" "github.com/caddyserver/caddy"
"github.com/miekg/dns" "github.com/miekg/dns"
) )

View file

@ -6,7 +6,7 @@ import (
"github.com/coredns/coredns/plugin/pkg/response" "github.com/coredns/coredns/plugin/pkg/response"
"github.com/mholt/caddy" "github.com/caddyserver/caddy"
) )
func TestLogParse(t *testing.T) { func TestLogParse(t *testing.T) {

View file

@ -10,7 +10,7 @@ import (
"github.com/coredns/coredns/plugin" "github.com/coredns/coredns/plugin"
"github.com/coredns/coredns/plugin/pkg/dnsutil" "github.com/coredns/coredns/plugin/pkg/dnsutil"
"github.com/mholt/caddy" "github.com/caddyserver/caddy"
) )
func init() { func init() {

View file

@ -3,7 +3,7 @@ package loop
import ( import (
"testing" "testing"
"github.com/mholt/caddy" "github.com/caddyserver/caddy"
) )
func TestSetup(t *testing.T) { func TestSetup(t *testing.T) {

View file

@ -4,7 +4,7 @@ import (
"github.com/coredns/coredns/core/dnsserver" "github.com/coredns/coredns/core/dnsserver"
"github.com/coredns/coredns/plugin" "github.com/coredns/coredns/plugin"
"github.com/mholt/caddy" "github.com/caddyserver/caddy"
) )
func init() { func init() {

View file

@ -4,7 +4,7 @@ import (
"reflect" "reflect"
"testing" "testing"
"github.com/mholt/caddy" "github.com/caddyserver/caddy"
) )
func TestSetup(t *testing.T) { func TestSetup(t *testing.T) {

View file

@ -3,7 +3,7 @@ package metrics
import ( import (
"github.com/coredns/coredns/core/dnsserver" "github.com/coredns/coredns/core/dnsserver"
"github.com/mholt/caddy" "github.com/caddyserver/caddy"
"github.com/prometheus/client_golang/prometheus" "github.com/prometheus/client_golang/prometheus"
) )

View file

@ -11,7 +11,7 @@ import (
clog "github.com/coredns/coredns/plugin/pkg/log" clog "github.com/coredns/coredns/plugin/pkg/log"
"github.com/coredns/coredns/plugin/pkg/uniq" "github.com/coredns/coredns/plugin/pkg/uniq"
"github.com/mholt/caddy" "github.com/caddyserver/caddy"
) )
var ( var (

View file

@ -3,7 +3,7 @@ package metrics
import ( import (
"testing" "testing"
"github.com/mholt/caddy" "github.com/caddyserver/caddy"
) )
func TestPrometheusParse(t *testing.T) { func TestPrometheusParse(t *testing.T) {

View file

@ -7,7 +7,7 @@ import (
"github.com/coredns/coredns/core/dnsserver" "github.com/coredns/coredns/core/dnsserver"
"github.com/coredns/coredns/plugin" "github.com/coredns/coredns/plugin"
"github.com/mholt/caddy" "github.com/caddyserver/caddy"
) )
func init() { func init() {

View file

@ -5,7 +5,7 @@ import (
"strings" "strings"
"testing" "testing"
"github.com/mholt/caddy" "github.com/caddyserver/caddy"
) )
func TestSetupNsid(t *testing.T) { func TestSetupNsid(t *testing.T) {

View file

@ -6,7 +6,7 @@ import (
"github.com/coredns/coredns/plugin/pkg/transport" "github.com/coredns/coredns/plugin/pkg/transport"
"github.com/mholt/caddy" "github.com/caddyserver/caddy"
) )
// Transfer parses transfer statements: 'transfer [to|from] [address...]'. // Transfer parses transfer statements: 'transfer [to|from] [address...]'.

View file

@ -3,7 +3,7 @@ package parse
import ( import (
"testing" "testing"
"github.com/mholt/caddy" "github.com/caddyserver/caddy"
) )
func TestTransfer(t *testing.T) { func TestTransfer(t *testing.T) {

View file

@ -8,7 +8,7 @@ import (
"github.com/coredns/coredns/plugin" "github.com/coredns/coredns/plugin"
clog "github.com/coredns/coredns/plugin/pkg/log" clog "github.com/coredns/coredns/plugin/pkg/log"
"github.com/mholt/caddy" "github.com/caddyserver/caddy"
) )
var log = clog.NewWithPlugin("pprof") var log = clog.NewWithPlugin("pprof")

View file

@ -3,7 +3,7 @@ package pprof
import ( import (
"testing" "testing"
"github.com/mholt/caddy" "github.com/caddyserver/caddy"
) )
func TestPProf(t *testing.T) { func TestPProf(t *testing.T) {

View file

@ -6,7 +6,7 @@ import (
"github.com/coredns/coredns/core/dnsserver" "github.com/coredns/coredns/core/dnsserver"
"github.com/coredns/coredns/plugin" "github.com/coredns/coredns/plugin"
"github.com/mholt/caddy" "github.com/caddyserver/caddy"
) )
func init() { func init() {

View file

@ -3,7 +3,7 @@ package ready
import ( import (
"testing" "testing"
"github.com/mholt/caddy" "github.com/caddyserver/caddy"
) )
func TestSetupReady(t *testing.T) { func TestSetupReady(t *testing.T) {

View file

@ -5,7 +5,7 @@ import (
"sync" "sync"
"time" "time"
"github.com/mholt/caddy" "github.com/caddyserver/caddy"
) )
// reload periodically checks if the Corefile has changed, and reloads if so // reload periodically checks if the Corefile has changed, and reloads if so

View file

@ -9,7 +9,7 @@ import (
"github.com/coredns/coredns/plugin" "github.com/coredns/coredns/plugin"
clog "github.com/coredns/coredns/plugin/pkg/log" clog "github.com/coredns/coredns/plugin/pkg/log"
"github.com/mholt/caddy" "github.com/caddyserver/caddy"
) )
var log = clog.NewWithPlugin("reload") var log = clog.NewWithPlugin("reload")

View file

@ -3,7 +3,7 @@ package reload
import ( import (
"testing" "testing"
"github.com/mholt/caddy" "github.com/caddyserver/caddy"
) )
func TestSetupReload(t *testing.T) { func TestSetupReload(t *testing.T) {

View file

@ -5,7 +5,7 @@ package rewrite
import ( import (
"github.com/coredns/coredns/plugin/pkg/fuzz" "github.com/coredns/coredns/plugin/pkg/fuzz"
"github.com/mholt/caddy" "github.com/caddyserver/caddy"
) )
// Fuzz fuzzes rewrite. // Fuzz fuzzes rewrite.

View file

@ -5,7 +5,7 @@ import (
"github.com/coredns/coredns/plugin" "github.com/coredns/coredns/plugin"
clog "github.com/coredns/coredns/plugin/pkg/log" clog "github.com/coredns/coredns/plugin/pkg/log"
"github.com/mholt/caddy" "github.com/caddyserver/caddy"
) )
var log = clog.NewWithPlugin("rewrite") var log = clog.NewWithPlugin("rewrite")

View file

@ -4,7 +4,7 @@ import (
"strings" "strings"
"testing" "testing"
"github.com/mholt/caddy" "github.com/caddyserver/caddy"
) )
func TestParse(t *testing.T) { func TestParse(t *testing.T) {

View file

@ -7,7 +7,7 @@ import (
"github.com/coredns/coredns/plugin" "github.com/coredns/coredns/plugin"
clog "github.com/coredns/coredns/plugin/pkg/log" clog "github.com/coredns/coredns/plugin/pkg/log"
"github.com/mholt/caddy" "github.com/caddyserver/caddy"
) )
var log = clog.NewWithPlugin("root") var log = clog.NewWithPlugin("root")

View file

@ -10,7 +10,7 @@ import (
"github.com/coredns/coredns/core/dnsserver" "github.com/coredns/coredns/core/dnsserver"
"github.com/mholt/caddy" "github.com/caddyserver/caddy"
) )
func TestRoot(t *testing.T) { func TestRoot(t *testing.T) {

View file

@ -15,7 +15,7 @@ import (
"github.com/aws/aws-sdk-go/aws/session" "github.com/aws/aws-sdk-go/aws/session"
"github.com/aws/aws-sdk-go/service/route53" "github.com/aws/aws-sdk-go/service/route53"
"github.com/aws/aws-sdk-go/service/route53/route53iface" "github.com/aws/aws-sdk-go/service/route53/route53iface"
"github.com/mholt/caddy" "github.com/caddyserver/caddy"
) )
var log = clog.NewWithPlugin("route53") var log = clog.NewWithPlugin("route53")

View file

@ -5,7 +5,7 @@ import (
"github.com/aws/aws-sdk-go/aws/credentials" "github.com/aws/aws-sdk-go/aws/credentials"
"github.com/aws/aws-sdk-go/service/route53/route53iface" "github.com/aws/aws-sdk-go/service/route53/route53iface"
"github.com/mholt/caddy" "github.com/caddyserver/caddy"
) )
func TestSetupRoute53(t *testing.T) { func TestSetupRoute53(t *testing.T) {

View file

@ -7,7 +7,7 @@ import (
"github.com/coredns/coredns/plugin/pkg/parse" "github.com/coredns/coredns/plugin/pkg/parse"
"github.com/coredns/coredns/plugin/pkg/upstream" "github.com/coredns/coredns/plugin/pkg/upstream"
"github.com/mholt/caddy" "github.com/caddyserver/caddy"
) )
func init() { func init() {

View file

@ -3,7 +3,7 @@ package secondary
import ( import (
"testing" "testing"
"github.com/mholt/caddy" "github.com/caddyserver/caddy"
) )
func TestSecondaryParse(t *testing.T) { func TestSecondaryParse(t *testing.T) {

View file

@ -4,7 +4,7 @@ import (
"github.com/coredns/coredns/plugin" "github.com/coredns/coredns/plugin"
"github.com/coredns/coredns/plugin/metrics" "github.com/coredns/coredns/plugin/metrics"
"github.com/mholt/caddy" "github.com/caddyserver/caddy"
"github.com/prometheus/client_golang/prometheus" "github.com/prometheus/client_golang/prometheus"
) )

View file

@ -8,7 +8,7 @@ import (
"github.com/coredns/coredns/plugin" "github.com/coredns/coredns/plugin"
"github.com/coredns/coredns/plugin/pkg/upstream" "github.com/coredns/coredns/plugin/pkg/upstream"
"github.com/mholt/caddy" "github.com/caddyserver/caddy"
"github.com/miekg/dns" "github.com/miekg/dns"
) )

View file

@ -3,7 +3,7 @@ package template
import ( import (
"testing" "testing"
"github.com/mholt/caddy" "github.com/caddyserver/caddy"
) )
func TestSetup(t *testing.T) { func TestSetup(t *testing.T) {

View file

@ -11,7 +11,7 @@ import (
"github.com/coredns/coredns/plugin/pkg/fall" "github.com/coredns/coredns/plugin/pkg/fall"
"github.com/coredns/coredns/plugin/test" "github.com/coredns/coredns/plugin/test"
"github.com/mholt/caddy" "github.com/caddyserver/caddy"
"github.com/miekg/dns" "github.com/miekg/dns"
) )

View file

@ -7,7 +7,7 @@ import (
"github.com/coredns/coredns/plugin" "github.com/coredns/coredns/plugin"
"github.com/coredns/coredns/plugin/pkg/tls" "github.com/coredns/coredns/plugin/pkg/tls"
"github.com/mholt/caddy" "github.com/caddyserver/caddy"
) )
func init() { func init() {

View file

@ -7,7 +7,7 @@ import (
"github.com/coredns/coredns/core/dnsserver" "github.com/coredns/coredns/core/dnsserver"
"github.com/mholt/caddy" "github.com/caddyserver/caddy"
) )
func TestTLS(t *testing.T) { func TestTLS(t *testing.T) {

View file

@ -8,7 +8,7 @@ import (
"github.com/coredns/coredns/core/dnsserver" "github.com/coredns/coredns/core/dnsserver"
"github.com/coredns/coredns/plugin" "github.com/coredns/coredns/plugin"
"github.com/mholt/caddy" "github.com/caddyserver/caddy"
) )
func init() { func init() {

View file

@ -3,7 +3,7 @@ package trace
import ( import (
"testing" "testing"
"github.com/mholt/caddy" "github.com/caddyserver/caddy"
) )
func TestTraceParse(t *testing.T) { func TestTraceParse(t *testing.T) {

View file

@ -9,7 +9,7 @@ import (
"github.com/coredns/coredns/plugin/test" "github.com/coredns/coredns/plugin/test"
"github.com/coredns/coredns/request" "github.com/coredns/coredns/request"
"github.com/mholt/caddy" "github.com/caddyserver/caddy"
"github.com/miekg/dns" "github.com/miekg/dns"
"github.com/opentracing/opentracing-go/mocktracer" "github.com/opentracing/opentracing-go/mocktracer"
) )

View file

@ -4,7 +4,7 @@ import (
"github.com/coredns/coredns/core/dnsserver" "github.com/coredns/coredns/core/dnsserver"
"github.com/coredns/coredns/plugin" "github.com/coredns/coredns/plugin"
"github.com/mholt/caddy" "github.com/caddyserver/caddy"
) )
func init() { func init() {

View file

@ -3,7 +3,7 @@ package whoami
import ( import (
"testing" "testing"
"github.com/mholt/caddy" "github.com/caddyserver/caddy"
) )
func TestSetup(t *testing.T) { func TestSetup(t *testing.T) {

View file

@ -6,7 +6,7 @@ import (
// Plug in CoreDNS, needed for AppVersion and AppName in this test. // Plug in CoreDNS, needed for AppVersion and AppName in this test.
_ "github.com/coredns/coredns/coremain" _ "github.com/coredns/coredns/coremain"
"github.com/mholt/caddy" "github.com/caddyserver/caddy"
"github.com/miekg/dns" "github.com/miekg/dns"
) )

View file

@ -10,7 +10,7 @@ import (
"github.com/coredns/coredns/core/dnsserver" "github.com/coredns/coredns/core/dnsserver"
"github.com/mholt/caddy" "github.com/caddyserver/caddy"
) )
// As we use the filesystem as-is, these files need to exist ON DISK for the readme test to work. This is especially // As we use the filesystem as-is, these files need to exist ON DISK for the readme test to work. This is especially

Some files were not shown because too many files have changed in this diff Show more