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
102 changed files with 114 additions and 109 deletions

View File

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

View File

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

View File

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

View File

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