diff options
author | 2020-04-14 21:03:18 +0800 | |
---|---|---|
committer | 2020-04-14 09:03:18 -0400 | |
commit | c639615615c88e5d06e31c7d80781284adfd75c6 (patch) | |
tree | 838200126de1cf3c9b90504f64c96bb5cd54cc58 /plugin/kubernetes/setup.go | |
parent | a27505c9e3f1a27a0a3f3bf5b4c653d0445ad8ce (diff) | |
download | coredns-c639615615c88e5d06e31c7d80781284adfd75c6.tar.gz coredns-c639615615c88e5d06e31c7d80781284adfd75c6.tar.zst coredns-c639615615c88e5d06e31c7d80781284adfd75c6.zip |
remove ignored option at kubernetes plugin (#3737)
Signed-off-by: zounengren <zounengren@cmss.chinamobile.com>
Diffstat (limited to '')
-rw-r--r-- | plugin/kubernetes/setup.go | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/plugin/kubernetes/setup.go b/plugin/kubernetes/setup.go index 2a58471d3..0c46a3ab6 100644 --- a/plugin/kubernetes/setup.go +++ b/plugin/kubernetes/setup.go @@ -202,8 +202,6 @@ func ParseStanza(c *caddy.Controller) (*Kubernetes, error) { continue } return nil, c.ArgErr() - case "resyncperiod": - continue case "labels": args := c.RemainingArgs() if len(args) > 0 { @@ -230,9 +228,6 @@ func ParseStanza(c *caddy.Controller) (*Kubernetes, error) { return nil, c.ArgErr() case "fallthrough": k8s.Fall.SetZonesFromArgs(c.RemainingArgs()) - case "upstream": - // remove soon - c.RemainingArgs() // eat remaining args case "ttl": args := c.RemainingArgs() if len(args) == 0 { |