diff options
author | 2017-09-14 09:36:06 +0100 | |
---|---|---|
committer | 2017-09-14 09:36:06 +0100 | |
commit | d8714e64e400ef873c2adc4d929a07d7890727b9 (patch) | |
tree | c9fa4c157e6af12eb1517654f8d23ca5d5619513 /core/coredns.go | |
parent | b984aa45595dc95253b91191afe7d3ee29e71b48 (diff) | |
download | coredns-d8714e64e400ef873c2adc4d929a07d7890727b9.tar.gz coredns-d8714e64e400ef873c2adc4d929a07d7890727b9.tar.zst coredns-d8714e64e400ef873c2adc4d929a07d7890727b9.zip |
Remove the word middleware (#1067)
* Rename middleware to plugin
first pass; mostly used 'sed', few spots where I manually changed
text.
This still builds a coredns binary.
* fmt error
* Rename AddMiddleware to AddPlugin
* Readd AddMiddleware to remain backwards compat
Diffstat (limited to 'core/coredns.go')
-rw-r--r-- | core/coredns.go | 46 |
1 files changed, 23 insertions, 23 deletions
diff --git a/core/coredns.go b/core/coredns.go index cee9761e2..ef941aebf 100644 --- a/core/coredns.go +++ b/core/coredns.go @@ -6,27 +6,27 @@ import ( _ "github.com/coredns/coredns/core/dnsserver" // plug in the standard directives (sorted) - _ "github.com/coredns/coredns/middleware/auto" - _ "github.com/coredns/coredns/middleware/bind" - _ "github.com/coredns/coredns/middleware/cache" - _ "github.com/coredns/coredns/middleware/chaos" - _ "github.com/coredns/coredns/middleware/dnssec" - _ "github.com/coredns/coredns/middleware/dnstap" - _ "github.com/coredns/coredns/middleware/erratic" - _ "github.com/coredns/coredns/middleware/errors" - _ "github.com/coredns/coredns/middleware/etcd" - _ "github.com/coredns/coredns/middleware/file" - _ "github.com/coredns/coredns/middleware/health" - _ "github.com/coredns/coredns/middleware/kubernetes" - _ "github.com/coredns/coredns/middleware/loadbalance" - _ "github.com/coredns/coredns/middleware/log" - _ "github.com/coredns/coredns/middleware/metrics" - _ "github.com/coredns/coredns/middleware/pprof" - _ "github.com/coredns/coredns/middleware/proxy" - _ "github.com/coredns/coredns/middleware/reverse" - _ "github.com/coredns/coredns/middleware/rewrite" - _ "github.com/coredns/coredns/middleware/root" - _ "github.com/coredns/coredns/middleware/secondary" - _ "github.com/coredns/coredns/middleware/trace" - _ "github.com/coredns/coredns/middleware/whoami" + _ "github.com/coredns/coredns/plugin/auto" + _ "github.com/coredns/coredns/plugin/bind" + _ "github.com/coredns/coredns/plugin/cache" + _ "github.com/coredns/coredns/plugin/chaos" + _ "github.com/coredns/coredns/plugin/dnssec" + _ "github.com/coredns/coredns/plugin/dnstap" + _ "github.com/coredns/coredns/plugin/erratic" + _ "github.com/coredns/coredns/plugin/errors" + _ "github.com/coredns/coredns/plugin/etcd" + _ "github.com/coredns/coredns/plugin/file" + _ "github.com/coredns/coredns/plugin/health" + _ "github.com/coredns/coredns/plugin/kubernetes" + _ "github.com/coredns/coredns/plugin/loadbalance" + _ "github.com/coredns/coredns/plugin/log" + _ "github.com/coredns/coredns/plugin/metrics" + _ "github.com/coredns/coredns/plugin/pprof" + _ "github.com/coredns/coredns/plugin/proxy" + _ "github.com/coredns/coredns/plugin/reverse" + _ "github.com/coredns/coredns/plugin/rewrite" + _ "github.com/coredns/coredns/plugin/root" + _ "github.com/coredns/coredns/plugin/secondary" + _ "github.com/coredns/coredns/plugin/trace" + _ "github.com/coredns/coredns/plugin/whoami" ) |