diff options
-rw-r--r-- | plugin/proxy/google.go | 3 | ||||
-rw-r--r-- | plugin/reverse/setup.go | 6 |
2 files changed, 9 insertions, 0 deletions
diff --git a/plugin/proxy/google.go b/plugin/proxy/google.go index 2c265ba4f..0dbca6383 100644 --- a/plugin/proxy/google.go +++ b/plugin/proxy/google.go @@ -27,6 +27,9 @@ type google struct { } func newGoogle(endpoint string, bootstrap []string) *google { + // TODO(miek): Deprecate after 1.1.3 (that would be 1.2.0) + log.Warning("https_google will be deprecated in the next release") + if endpoint == "" { endpoint = ghost } diff --git a/plugin/reverse/setup.go b/plugin/reverse/setup.go index d6fc841ad..1033a0de4 100644 --- a/plugin/reverse/setup.go +++ b/plugin/reverse/setup.go @@ -10,10 +10,13 @@ import ( "github.com/coredns/coredns/core/dnsserver" "github.com/coredns/coredns/plugin" "github.com/coredns/coredns/plugin/pkg/fall" + clog "github.com/coredns/coredns/plugin/pkg/log" "github.com/mholt/caddy" ) +var log = clog.NewWithPlugin("reverse") + func init() { caddy.RegisterPlugin("reverse", caddy.Plugin{ ServerType: "dns", @@ -31,6 +34,9 @@ func setup(c *caddy.Controller) error { return Reverse{Next: next, Networks: networks, Fall: fall} }) + // TODO(miek): Deprecate after 1.1.3 (that would be 1.2.0) + log.Warning("reverse will be deprecated in the next release") + return nil } |