mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-24 16:48:45 +05:00
replacing non-meta constants for storage types
This commit is contained in:
committed by
Dan Christian Bogos
parent
c5acb15d4a
commit
7dcbd09a1f
@@ -114,7 +114,7 @@ func loadConfig() (ldrCfg *config.CGRConfig) {
|
||||
}
|
||||
// Data for DataDB
|
||||
if *dataDBType != dfltCfg.DataDbCfg().DataDbType {
|
||||
ldrCfg.DataDbCfg().DataDbType = strings.TrimPrefix(*dataDBType, "*")
|
||||
ldrCfg.DataDbCfg().DataDbType = *dataDBType
|
||||
}
|
||||
|
||||
if *dataDBHost != dfltCfg.DataDbCfg().DataDbHost {
|
||||
@@ -147,7 +147,7 @@ func loadConfig() (ldrCfg *config.CGRConfig) {
|
||||
|
||||
// Data for StorDB
|
||||
if *storDBType != dfltCfg.StorDbCfg().Type {
|
||||
ldrCfg.StorDbCfg().Type = strings.TrimPrefix(*storDBType, "*")
|
||||
ldrCfg.StorDbCfg().Type = *storDBType
|
||||
}
|
||||
|
||||
if *storDBHost != dfltCfg.StorDbCfg().Host {
|
||||
|
||||
Reference in New Issue
Block a user