mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-24 08:38:45 +05:00
fix get cdrstats from redis and a small rpc problem
This commit is contained in:
@@ -688,7 +688,7 @@ func (rs *RedisStorage) GetAllCdrStats() (css []*CdrStats, err error) {
|
||||
if err != nil {
|
||||
continue
|
||||
}
|
||||
var cs *CdrStats
|
||||
cs := &CdrStats{}
|
||||
err = rs.ms.Unmarshal(value, cs)
|
||||
css = append(css, cs)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user