Fix the process of merging loaders with same id (final)

This commit is contained in:
ionutboangiu
2021-06-29 10:28:13 +03:00
committed by Dan Christian Bogos
parent 6a0bc192dc
commit 5ba3c06dec
2 changed files with 1197 additions and 15 deletions

View File

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