Cgr-loader now clear indexing

This commit is contained in:
TeoV
2018-06-22 11:42:27 -04:00
committed by Dan Christian Bogos
parent 05d4acab5a
commit ea2b5303f2
4 changed files with 25 additions and 2 deletions

View File

@@ -2162,6 +2162,7 @@ func (tpr *TpReader) WriteToDatabase(flush, verbose, disable_reverse bool) (err
log.Print("AttributeProfiles:")
}
for _, tpTH := range tpr.attributeProfiles {
th, err := APItoAttributeProfile(tpTH, tpr.timezone)
if err != nil {
return err