mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-24 08:38:45 +05:00
Updated config
This commit is contained in:
committed by
Dan Christian Bogos
parent
296a5e0ebf
commit
52365ce558
@@ -241,6 +241,3 @@ func (*InternalDB) SetSection(_ *context.Context, section string, jsn interface{
|
||||
Cache.SetWithoutReplicate(utils.MetaConfig, section, jsn, nil, true, utils.NonTransactional)
|
||||
return nil
|
||||
}
|
||||
func (*InternalDB) ConfigDBJsonCfg() (*config.ConfigDBJsonCfg, error) {
|
||||
return nil, utils.ErrNotImplemented
|
||||
}
|
||||
|
||||
@@ -21,7 +21,6 @@ package engine
|
||||
import (
|
||||
"github.com/cgrates/birpc/context"
|
||||
"github.com/cgrates/cgrates/config"
|
||||
"github.com/cgrates/cgrates/utils"
|
||||
"go.mongodb.org/mongo-driver/bson"
|
||||
"go.mongodb.org/mongo-driver/mongo"
|
||||
"go.mongodb.org/mongo-driver/mongo/options"
|
||||
@@ -842,6 +841,3 @@ func (ms *MongoStorage) SetSection(ctx *context.Context, section string, jsn int
|
||||
return err
|
||||
})
|
||||
}
|
||||
func (ms *MongoStorage) ConfigDBJsonCfg() (*config.ConfigDBJsonCfg, error) {
|
||||
return nil, utils.ErrNotImplemented
|
||||
}
|
||||
|
||||
@@ -21,7 +21,6 @@ package engine
|
||||
import (
|
||||
"github.com/cgrates/birpc/context"
|
||||
"github.com/cgrates/cgrates/config"
|
||||
"github.com/cgrates/cgrates/utils"
|
||||
)
|
||||
|
||||
const (
|
||||
@@ -372,6 +371,3 @@ func (rs *RedisStorage) SetSection(_ *context.Context, section string, jsn inter
|
||||
}
|
||||
return rs.Cmd(nil, redisSET, configPrefix+section, string(result))
|
||||
}
|
||||
func (rs *RedisStorage) ConfigDBJsonCfg() (*config.ConfigDBJsonCfg, error) {
|
||||
return nil, utils.ErrNotImplemented
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user