convert *max/min_counter to *max/min_event_counter

this is the default behavior
This commit is contained in:
Radu Ioan Fericean
2015-11-03 18:43:12 +02:00
parent 233b4b0b4a
commit 1f20539bb3
4 changed files with 13 additions and 2 deletions

View File

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