diff options
author | 2022-07-11 10:31:48 +0000 | |
---|---|---|
committer | 2022-07-11 10:31:48 +0000 | |
commit | 0e4ca22f44705cb5f9f1aba4f15a3a5444c1f5ac (patch) | |
tree | cfe361e63523a520c1209b616397806c205b3150 | |
parent | c2dbb7141a7c95aa521a41b27bed3af25de8f546 (diff) | |
download | coredns-0e4ca22f44705cb5f9f1aba4f15a3a5444c1f5ac.tar.gz coredns-0e4ca22f44705cb5f9f1aba4f15a3a5444c1f5ac.tar.zst coredns-0e4ca22f44705cb5f9f1aba4f15a3a5444c1f5ac.zip |
auto go fmt
Signed-off-by: coredns[bot] <bot@bot.coredns.io>
-rw-r--r-- | plugin/cache/handler.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugin/cache/handler.go b/plugin/cache/handler.go index f443f3d47..69ec4928d 100644 --- a/plugin/cache/handler.go +++ b/plugin/cache/handler.go @@ -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) |