mirror of
https://github.com/safing/portbase
synced 2025-09-10 06:15:08 +00:00
Fix database api
This commit is contained in:
parent
f36d82bf19
commit
852f7ab3c6
3 changed files with 22 additions and 14 deletions
|
@ -218,9 +218,6 @@ func (i *Interface) Delete(key string) error {
|
|||
return err
|
||||
}
|
||||
|
||||
r.Lock()
|
||||
defer r.Unlock()
|
||||
|
||||
i.options.Apply(r)
|
||||
r.Meta().Delete()
|
||||
return db.Put(r)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue