mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-20 14:48:43 +05:00
fixed lcr csv order and started lcr docs
This commit is contained in:
@@ -609,7 +609,7 @@ func (csvr *CSVReader) LoadLCRs() (err error) {
|
||||
defer fp.Close()
|
||||
}
|
||||
for record, err := csvReader.Read(); err == nil; record, err = csvReader.Read() {
|
||||
tenant, category, direction, account, subject := record[0], record[1], record[2], record[3], record[4]
|
||||
direction, tenant, category, account, subject := record[0], record[1], record[2], record[3], record[4]
|
||||
id := utils.LCRKey(direction, tenant, category, account, subject)
|
||||
lcr, found := csvr.lcrs[id]
|
||||
activationTime, err := utils.ParseTimeDetectLayout(record[9])
|
||||
|
||||
Reference in New Issue
Block a user