mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-20 06:38:45 +05:00
convert *max/min_counter to *max/min_event_counter
this is the default behavior
This commit is contained in:
@@ -570,6 +570,9 @@ func (acc *Account) InitCounters() {
|
||||
continue
|
||||
}
|
||||
_, ct, _ := at.GetThresholdTypeInfo()
|
||||
if ct == "" {
|
||||
ct = utils.COUNTER_EVENT
|
||||
}
|
||||
uc, exists := ucTempMap[at.BalanceType+ct]
|
||||
if !exists {
|
||||
uc = &UnitCounter{
|
||||
|
||||
Reference in New Issue
Block a user