Set value on cache miss
This commit is contained in:
parent
e6804d0233
commit
b6d575a286
@ -67,6 +67,7 @@ func (ds *Datastore) Get(key string) (ConfigEntry, error) {
|
||||
Key: resultKey,
|
||||
Value: resultValue,
|
||||
}
|
||||
ds.SetCachedValue(resultKey, resultValue)
|
||||
|
||||
return result, nil
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user