mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-11 18:16:24 +05:00
updated map for savingit st
This commit is contained in:
@@ -59,7 +59,6 @@ func (s *Scheduler) Loop() {
|
||||
case <-s.restartLoop:
|
||||
// nothing to do, just continue the loop
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -131,7 +131,7 @@ func (ms *MapStorage) GetAllActionTimings() (ats map[string][]*ActionTiming, err
|
||||
}
|
||||
var tempAts []*ActionTiming
|
||||
err = ms.ms.Unmarshal(value, &tempAts)
|
||||
ats[key] = tempAts
|
||||
ats[key[len(ACTION_TIMING_PREFIX):]] = tempAts
|
||||
}
|
||||
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user