mirror of
https://github.com/safing/portbase
synced 2026-05-01 21:21:23 +00:00
Clean up database package
This commit is contained in:
parent
ddc773a9f2
commit
7011bde0fe
7 changed files with 18 additions and 21 deletions
|
|
@ -80,7 +80,7 @@ func (i *Interface) checkCache(key string) (record.Record, bool) {
|
|||
|
||||
func (i *Interface) updateCache(r record.Record) {
|
||||
if i.cache != nil {
|
||||
i.cache.Set(r.Key(), r)
|
||||
_ = i.cache.Set(r.Key(), r)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue