mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-14 12:49:54 +05:00
Fix the process of merging loaders with same id (final)
This commit is contained in:
committed by
Dan Christian Bogos
parent
6a0bc192dc
commit
5ba3c06dec
@@ -152,6 +152,9 @@ func (l *LoaderSCfg) loadFromJSONCfg(jsnCfg *LoaderJsonCfg, msgTemplates map[str
|
||||
}
|
||||
if jsnCfg.Data != nil {
|
||||
for _, jsnLoCfg := range *jsnCfg.Data {
|
||||
if jsnLoCfg == nil {
|
||||
continue
|
||||
}
|
||||
var ldrDataType *LoaderDataType
|
||||
if jsnLoCfg.Type != nil {
|
||||
for _, ldrDT := range l.Data {
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user