Set value on cache miss

This commit is contained in:
Gabe Kangas 2022-04-30 16:06:00 -07:00
parent e6804d0233
commit b6d575a286
No known key found for this signature in database
GPG key ID: 9A56337728BC81EA

View file

@ -67,6 +67,7 @@ func (ds *Datastore) Get(key string) (ConfigEntry, error) {
Key: resultKey, Key: resultKey,
Value: resultValue, Value: resultValue,
} }
ds.SetCachedValue(resultKey, resultValue)
return result, nil return result, nil
} }