mirror of
https://github.com/coredns/coredns.git
synced 2025-11-03 02:33:21 -05:00
fix keepttl parsing (#6250)
Signed-off-by: Chris O'Haver <cohaver@infoblox.com>
This commit is contained in:
1
plugin/cache/setup.go
vendored
1
plugin/cache/setup.go
vendored
@@ -241,6 +241,7 @@ func cacheParse(c *caddy.Controller) (*Cache, error) {
|
||||
return nil, fmt.Errorf("cache type for disable must be %q or %q", Success, Denial)
|
||||
}
|
||||
case "keepttl":
|
||||
args := c.RemainingArgs()
|
||||
if len(args) != 0 {
|
||||
return nil, c.ArgErr()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user