From 3e6489ef67270db1ad8963d572e0dc79960a6781 Mon Sep 17 00:00:00 2001 From: Miek Gieben Date: Wed, 14 Mar 2018 21:18:29 +0000 Subject: [PATCH] Remove the deprecate plugins (#1612) Remove startup and shutdown completely --- core/dnsserver/zdirectives.go | 2 -- core/plugin/zplugin.go | 1 - plugin.cfg | 2 -- 3 files changed, 5 deletions(-) diff --git a/core/dnsserver/zdirectives.go b/core/dnsserver/zdirectives.go index f0017e82c..046600c54 100644 --- a/core/dnsserver/zdirectives.go +++ b/core/dnsserver/zdirectives.go @@ -44,6 +44,4 @@ var Directives = []string{ "erratic", "whoami", "on", - "startup", - "shutdown", } diff --git a/core/plugin/zplugin.go b/core/plugin/zplugin.go index c545046a7..d22904fbd 100644 --- a/core/plugin/zplugin.go +++ b/core/plugin/zplugin.go @@ -10,7 +10,6 @@ import ( _ "github.com/coredns/coredns/plugin/cache" _ "github.com/coredns/coredns/plugin/chaos" _ "github.com/coredns/coredns/plugin/debug" - _ "github.com/coredns/coredns/plugin/deprecated" _ "github.com/coredns/coredns/plugin/dnssec" _ "github.com/coredns/coredns/plugin/dnstap" _ "github.com/coredns/coredns/plugin/erratic" diff --git a/plugin.cfg b/plugin.cfg index 9bcc96e25..4f19395f5 100644 --- a/plugin.cfg +++ b/plugin.cfg @@ -53,5 +53,3 @@ proxy:proxy erratic:erratic whoami:whoami on:github.com/mholt/caddy/onevent -startup:deprecated -shutdown:deprecated