auto go fmt
Signed-off-by: coredns[bot] <bot@bot.coredns.io>
This commit is contained in:
parent
c2dbb7141a
commit
0e4ca22f44
1 changed files with 1 additions and 1 deletions
2
plugin/cache/handler.go
vendored
2
plugin/cache/handler.go
vendored
|
@ -38,7 +38,7 @@ func (c *Cache) ServeDNS(ctx context.Context, w dns.ResponseWriter, r *dns.Msg)
|
|||
ttl := 0
|
||||
i := c.getIgnoreTTL(now, state, server)
|
||||
if i == nil {
|
||||
crr := &ResponseWriter{ResponseWriter: w, Cache: c, state: state, server: server, do: do, ad: ad, wildcardFunc: wildcardFunc(ctx)}
|
||||
crr := &ResponseWriter{ResponseWriter: w, Cache: c, state: state, server: server, do: do, ad: ad, wildcardFunc: wildcardFunc(ctx)}
|
||||
return c.doRefresh(ctx, state, crr)
|
||||
}
|
||||
ttl = i.ttl(now)
|
||||
|
|
Loading…
Add table
Reference in a new issue