From b6d575a28633d431ee0d2bd946216fbf8739ae96 Mon Sep 17 00:00:00 2001 From: Gabe Kangas Date: Sat, 30 Apr 2022 16:06:00 -0700 Subject: [PATCH] Set value on cache miss --- core/data/persistence.go | 1 + 1 file changed, 1 insertion(+) diff --git a/core/data/persistence.go b/core/data/persistence.go index 3d1c81888..8a02f1799 100644 --- a/core/data/persistence.go +++ b/core/data/persistence.go @@ -67,6 +67,7 @@ func (ds *Datastore) Get(key string) (ConfigEntry, error) { Key: resultKey, Value: resultValue, } + ds.SetCachedValue(resultKey, resultValue) return result, nil }