implement connect
This commit is contained in:
parent
bdde401439
commit
e2d1f65bb3
@ -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
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user