serverwentdown / alias

CoreDNS plugin for replacing CNAME records on zone apex
https://coredns.io/explugins/alias/
Apache License 2.0
19 stars 9 forks source link

update for coredns master #1

Closed miekg closed 7 years ago

miekg commented 7 years ago

We've renamed middleware to plugin to have more consitant naming and keep in sync with caddy.

For the example plugin, this diff we needed; it is just renaming middleware to plugin: see https://github.com/coredns/example/commit/fe5e8f02ad4b76d7b8701303414fe28e75c0825b

serverwentdown commented 7 years ago

okay, will make change soon.

miekg commented 7 years ago

[ Quoting notifications@github.com in "Re: [serverwentdown/alias] update f..." ]

okay, will make change soon.

Thanks. I think you just need to do:

sed 's/middleware/plugin/'g -i *.go
sed 's/Middleware/Plugin/'g -i *.go