Updated config

This commit is contained in:
Trial97
2021-04-20 17:08:54 +03:00
committed by Dan Christian Bogos
parent 296a5e0ebf
commit 52365ce558
12 changed files with 892 additions and 875 deletions

View File

@@ -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
}

View File

@@ -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
}

View File

@@ -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
}