remove ignored option at kubernetes plugin (#3737)

Signed-off-by: zounengren <zounengren@cmss.chinamobile.com>
This commit is contained in:
Zou Nengren 2020-04-14 21:03:18 +08:00 committed by GitHub
parent a27505c9e3
commit c639615615
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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 {