f-8: fix: implemente readonly usage #8
All checks were successful
Pre Release Workflow / set-release-target (push) Successful in 1s
Pre Release Workflow / build (agent, amd64, linux) (push) Successful in 1m24s
Pre Release Workflow / build (db, amd64, linux) (push) Successful in 1m31s
Pre Release Workflow / build (meta_cli, amd64, linux) (push) Successful in 1m31s
Pre Release Workflow / build (metadata, amd64, linux) (push) Successful in 1m28s
Pre Release Workflow / prerelease (push) Successful in 12s

Signed-off-by: GnomeZworc <nicolas.boufidjeline@g3e.fr>
This commit is contained in:
GnomeZworc 2026-01-02 22:51:53 +01:00
commit de7a678640
Signed by: nicolas.boufideline
GPG key ID: 4406BBBF8845D632
3 changed files with 3 additions and 3 deletions

View file

@ -136,7 +136,7 @@ func main() {
DB = kv.InitDB(kv.Config{
Path: conf.Database.Path,
})
}, false)
defer DB.Close()
if len(args) < 1 {

View file

@ -31,7 +31,7 @@ func main() {
db := kv.InitDB(kv.Config{
Path: conf.Database.Path,
})
}, false)
defer db.Close()
if *start {