mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-11 18:16:24 +05:00
cgr-loader handle correctly the dbtype
This commit is contained in:
committed by
Dan Christian Bogos
parent
ea47d051ec
commit
ada94f1920
@@ -120,7 +120,7 @@ func main() {
|
||||
|
||||
// Data for DataDB
|
||||
if *dataDBType != dfltCfg.DataDbCfg().DataDbType {
|
||||
ldrCfg.DataDbCfg().DataDbType = *dataDBType
|
||||
ldrCfg.DataDbCfg().DataDbType = strings.TrimPrefix(*dataDBType, "*")
|
||||
}
|
||||
|
||||
if *dataDBHost != dfltCfg.DataDbCfg().DataDbHost {
|
||||
@@ -153,7 +153,7 @@ func main() {
|
||||
|
||||
// Data for StorDB
|
||||
if *storDBType != dfltCfg.StorDbCfg().StorDBType {
|
||||
ldrCfg.StorDbCfg().StorDBType = *storDBType
|
||||
ldrCfg.StorDbCfg().StorDBType = strings.TrimPrefix(*storDBType, "*")
|
||||
}
|
||||
|
||||
if *storDBHost != dfltCfg.StorDbCfg().StorDBHost {
|
||||
|
||||
Reference in New Issue
Block a user