From 5e15bbe676332beaeae1a3838450b2d6f3e678f2 Mon Sep 17 00:00:00 2001 From: Jakob Ackermann Date: Sat, 18 Jan 2025 13:54:37 +0000 Subject: [PATCH] BUG: fetch zones once in ZoneCache (#3394) --- pkg/zoneCache/zoneCache.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/zoneCache/zoneCache.go b/pkg/zoneCache/zoneCache.go index db2aa9d553..9823d01059 100644 --- a/pkg/zoneCache/zoneCache.go +++ b/pkg/zoneCache/zoneCache.go @@ -32,6 +32,7 @@ func (c *ZoneCache[Zone]) ensureCached() error { for name, z := range zones { c.cache[name] = z } + c.cached = true return nil }