Skip to content

Commit

Permalink
remove deprecated code (coredns#1888)
Browse files Browse the repository at this point in the history
This removes:
* reverse plugin from plugin.cfg
* https_google option from proxy
* the -log flag
  • Loading branch information
miekg authored Jun 20, 2018
1 parent 9c2dc7a commit 41c7247
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 4 deletions.
1 change: 0 additions & 1 deletion coremain/run.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ func init() {
flag.StringVar(&caddy.PidFile, "pidfile", "", "Path to write pid file")
flag.BoolVar(&version, "version", false, "Show version")
flag.BoolVar(&dnsserver.Quiet, "quiet", false, "Quiet mode (no initialization output)")
flag.BoolVar(&logfile, "log", false, "Log to standard output") // noop for 1.1.4; drop in 1.2.0.

caddy.RegisterCaddyfileLoader("flag", caddy.LoaderFunc(confLoader))
caddy.SetDefaultCaddyfileLoader("default", caddy.LoaderFunc(defaultLoader))
Expand Down
1 change: 0 additions & 1 deletion plugin.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ cache:cache
rewrite:rewrite
dnssec:dnssec
autopath:autopath
reverse:deprecated
template:template
hosts:hosts
route53:route53
Expand Down
2 changes: 0 additions & 2 deletions plugin/proxy/upstream.go
Original file line number Diff line number Diff line change
Expand Up @@ -164,8 +164,6 @@ func parseBlock(c *caddyfile.Dispenser, u *staticUpstream) error {
} else {
u.ex = newDNSEx()
}
case "https_google":
// allow the config, but make noop
case "grpc":
if len(encArgs) == 2 && encArgs[1] == "insecure" {
u.ex = newGrpcClient(nil, u)
Expand Down

0 comments on commit 41c7247

Please sign in to comment.