mirror of
https://github.com/coredns/coredns.git
synced 2025-10-27 16:24:19 -04:00
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>
This commit is contained in:
@@ -47,7 +47,7 @@ func TestLookupAutoPathErratic(t *testing.T) {
|
||||
corefile := `.:0 {
|
||||
erratic
|
||||
autopath @erratic
|
||||
proxy . ` + proxyPath + `
|
||||
forward . ` + proxyPath + `
|
||||
debug
|
||||
}
|
||||
`
|
||||
@@ -92,7 +92,7 @@ func TestAutoPathErraticNotLoaded(t *testing.T) {
|
||||
setupProxyTargetCoreDNS(t, func(proxyPath string) {
|
||||
corefile := `.:0 {
|
||||
autopath @erratic
|
||||
proxy . ` + proxyPath + `
|
||||
forward . ` + proxyPath + `
|
||||
debug
|
||||
}
|
||||
`
|
||||
|
||||
Reference in New Issue
Block a user