forked from urdt/ussd
Remove useless 'registered' member in thread gdbm
This commit is contained in:
parent
a455cfb854
commit
7d3ff690f0
@ -14,7 +14,6 @@ var (
|
||||
|
||||
type ThreadGdbmDb struct {
|
||||
db db.Db
|
||||
registered bool
|
||||
connStr string
|
||||
}
|
||||
|
||||
@ -40,7 +39,6 @@ func(tdb *ThreadGdbmDb) Connect(ctx context.Context, connStr string) error {
|
||||
dbC[connStr] = make(chan db.Db, 1)
|
||||
dbC[connStr]<- gdb
|
||||
tdb.connStr = connStr
|
||||
tdb.registered = true
|
||||
return nil
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user