diff options
Diffstat (limited to 'rhimport')
-rw-r--r-- | rhimport/core.go | 4 | ||||
-rw-r--r-- | rhimport/session_store.go | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/rhimport/core.go b/rhimport/core.go index f01ed77..bf4a57e 100644 --- a/rhimport/core.go +++ b/rhimport/core.go @@ -137,7 +137,7 @@ type AttachmentChunk struct { type Context struct { conf *Config - db *rddb.DBChan + db *rddb.DB stdlog *log.Logger dbglog *log.Logger UserName string @@ -169,7 +169,7 @@ type Context struct { Cancel <-chan bool } -func NewContext(conf *Config, db *rddb.DBChan, stdlog, dbglog *log.Logger) *Context { +func NewContext(conf *Config, db *rddb.DB, stdlog, dbglog *log.Logger) *Context { if stdlog == nil { stdlog = log.New(ioutil.Discard, "", 0) } diff --git a/rhimport/session_store.go b/rhimport/session_store.go index bb36473..ec01071 100644 --- a/rhimport/session_store.go +++ b/rhimport/session_store.go @@ -133,7 +133,7 @@ func (user *sessionStoreUserElement) callUpdateHandlerRemove(id, refId string) { type sessionStore struct { store map[string]*sessionStoreUserElement conf *Config - db *rddb.DBChan + db *rddb.DB stdlog *log.Logger dbglog *log.Logger quit chan bool @@ -389,7 +389,7 @@ func (store *sessionStore) Cleanup() { close(store.removeChan) } -func NewSessionStore(conf *Config, db *rddb.DBChan, stdlog, dbglog *log.Logger) (store *sessionStore, err error) { +func NewSessionStore(conf *Config, db *rddb.DB, stdlog, dbglog *log.Logger) (store *sessionStore, err error) { store = &sessionStore{} store.conf = conf store.db = db |