Commit c6396156 authored by Zou Nengren's avatar Zou Nengren Committed by GitHub

remove ignored option at kubernetes plugin (#3737)

Signed-off-by: default avatarzounengren <zounengren@cmss.chinamobile.com>
parent a27505c9
...@@ -202,8 +202,6 @@ func ParseStanza(c *caddy.Controller) (*Kubernetes, error) { ...@@ -202,8 +202,6 @@ func ParseStanza(c *caddy.Controller) (*Kubernetes, error) {
continue continue
} }
return nil, c.ArgErr() return nil, c.ArgErr()
case "resyncperiod":
continue
case "labels": case "labels":
args := c.RemainingArgs() args := c.RemainingArgs()
if len(args) > 0 { if len(args) > 0 {
...@@ -230,9 +228,6 @@ func ParseStanza(c *caddy.Controller) (*Kubernetes, error) { ...@@ -230,9 +228,6 @@ func ParseStanza(c *caddy.Controller) (*Kubernetes, error) {
return nil, c.ArgErr() return nil, c.ArgErr()
case "fallthrough": case "fallthrough":
k8s.Fall.SetZonesFromArgs(c.RemainingArgs()) k8s.Fall.SetZonesFromArgs(c.RemainingArgs())
case "upstream":
// remove soon
c.RemainingArgs() // eat remaining args
case "ttl": case "ttl":
args := c.RemainingArgs() args := c.RemainingArgs()
if len(args) == 0 { if len(args) == 0 {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment