aboutsummaryrefslogtreecommitdiff
path: root/core/plugin/zplugin.go
diff options
context:
space:
mode:
authorGravatar Yong Tang <yong.tang.github@outlook.com> 2019-03-03 23:32:38 -0800
committerGravatar Miek Gieben <miek@miek.nl> 2019-03-04 07:32:38 +0000
commit9dd288943a778c19d5a798e1c1535cd0ba5d53c0 (patch)
tree2f555f01f74f41c005f75aa5a27659d6c5133410 /core/plugin/zplugin.go
parentdfa413af096646e04882bb8312eef27fe1a160ef (diff)
downloadcoredns-9dd288943a778c19d5a798e1c1535cd0ba5d53c0.tar.gz
coredns-9dd288943a778c19d5a798e1c1535cd0ba5d53c0.tar.zst
coredns-9dd288943a778c19d5a798e1c1535cd0ba5d53c0.zip
Move *proxy* to external (#2651)
* Move *proxy* to external move the proxy plugin into coredns/proxy and remove it as a default plugin. Link the proxy to deprecated in plugin.cfg coredns/proxy doesn't compile because of the vendoring :( Signed-off-by: Miek Gieben <miek@miek.nl> * Add github.com/coredns/proxy Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
Diffstat (limited to 'core/plugin/zplugin.go')
-rw-r--r--core/plugin/zplugin.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/plugin/zplugin.go b/core/plugin/zplugin.go
index 6102d94bd..93a804f4f 100644
--- a/core/plugin/zplugin.go
+++ b/core/plugin/zplugin.go
@@ -29,7 +29,6 @@ import (
_ "github.com/coredns/coredns/plugin/metrics"
_ "github.com/coredns/coredns/plugin/nsid"
_ "github.com/coredns/coredns/plugin/pprof"
- _ "github.com/coredns/coredns/plugin/proxy"
_ "github.com/coredns/coredns/plugin/reload"
_ "github.com/coredns/coredns/plugin/rewrite"
_ "github.com/coredns/coredns/plugin/root"
@@ -39,5 +38,6 @@ import (
_ "github.com/coredns/coredns/plugin/tls"
_ "github.com/coredns/coredns/plugin/trace"
_ "github.com/coredns/coredns/plugin/whoami"
+ _ "github.com/coredns/proxy"
_ "github.com/mholt/caddy/onevent"
)