From e2d1f65bb3060492e6bb3af0d4ba3e29a7883c4b Mon Sep 17 00:00:00 2001 From: Carlosokumu Date: Tue, 8 Apr 2025 12:43:35 +0300 Subject: [PATCH] implement connect --- storage/storage_service.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/storage/storage_service.go b/storage/storage_service.go index d9e63b2..4df4914 100644 --- a/storage/storage_service.go +++ b/storage/storage_service.go @@ -210,6 +210,10 @@ func (ms *MenuStorageService) GetLogDb(ctx context.Context, mainDb db.Db, connSt } connStr = path.Join(connStr, section) tgdbm := gdbmstorage.NewThreadGdbmDb() + err = tgdbm.Connect(ctx, connStr) + if err != nil { + return nil, err + } return tgdbm, nil }