mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-11 18:16:24 +05:00
Updated agents tests
This commit is contained in:
committed by
Dan Christian Bogos
parent
7cc2307ae1
commit
ba090352ec
@@ -172,12 +172,12 @@ func (sqlEe *SQLEe) ExportEvent(cgrEv *utils.CGREvent) (err error) {
|
||||
}
|
||||
|
||||
for el := eeReq.OrdNavMP[utils.MetaExp].GetFirstElement(); el != nil; el = el.Next() {
|
||||
iface, _ := eeReq.OrdNavMP[utils.MetaExp].Field(el.Value)
|
||||
pathWithoutIndex := utils.GetPathWithoutIndex(el.Value.String())
|
||||
nmIt, _ := eeReq.OrdNavMP[utils.MetaExp].Field(el.Value)
|
||||
pathWithoutIndex := utils.GetPathWithoutIndex(strings.Join(el.Value, utils.NestingSep))
|
||||
if pathWithoutIndex != utils.MetaRow {
|
||||
colNames = append(colNames, pathWithoutIndex)
|
||||
}
|
||||
vals = append(vals, iface.Interface())
|
||||
vals = append(vals, nmIt.Data)
|
||||
}
|
||||
|
||||
sqlValues := make([]string, len(vals))
|
||||
|
||||
Reference in New Issue
Block a user