mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-11 18:16:24 +05:00
fixing it tests for db type
This commit is contained in:
committed by
Dan Christian Bogos
parent
b221a385e4
commit
7dd79308b8
@@ -135,7 +135,7 @@ func loadConfig() (ldrCfg *config.CGRConfig) {
|
||||
}
|
||||
// Data for DataDB
|
||||
if *dataDBType != dfltCfg.DataDbCfg().Type {
|
||||
ldrCfg.DataDbCfg().Type = strings.TrimPrefix(*dataDBType, utils.Meta)
|
||||
ldrCfg.DataDbCfg().Type = *dataDBType
|
||||
}
|
||||
|
||||
if *dataDBHost != dfltCfg.DataDbCfg().Host {
|
||||
@@ -205,7 +205,7 @@ func loadConfig() (ldrCfg *config.CGRConfig) {
|
||||
|
||||
// Data for StorDB
|
||||
if *storDBType != dfltCfg.StorDbCfg().Type {
|
||||
ldrCfg.StorDbCfg().Type = strings.TrimPrefix(*storDBType, utils.Meta)
|
||||
ldrCfg.StorDbCfg().Type = *storDBType
|
||||
}
|
||||
|
||||
if *storDBHost != dfltCfg.StorDbCfg().Host {
|
||||
|
||||
Reference in New Issue
Block a user