working commit
This commit is contained in:
@@ -24,7 +24,7 @@ import (
|
||||
|
||||
type Util struct {
|
||||
log *logger.Logger
|
||||
oper *operator.Logic
|
||||
oper *operator.Operator
|
||||
db *maindb.Database
|
||||
state descr.Server
|
||||
sfile string
|
||||
@@ -84,10 +84,10 @@ func (util *Util) Build() error {
|
||||
return err
|
||||
}
|
||||
util.db = db
|
||||
logicConfig := &operator.LogicConfig{
|
||||
operConfig := &operator.OperatorConfig{
|
||||
Database: util.db,
|
||||
}
|
||||
util.oper, err = operator.NewLogic(logicConfig)
|
||||
util.oper, err = operator.NewOperator(operConfig)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user