mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-11 18:16:24 +05:00
initialize queue ids slice
This commit is contained in:
@@ -55,7 +55,7 @@ func NewStats(ratingDb RatingStorage) *Stats {
|
||||
func (s *Stats) GetQueueIds(in int, ids *[]string) error {
|
||||
s.mux.Lock()
|
||||
defer s.mux.Unlock()
|
||||
var result []string
|
||||
result := make([]string)
|
||||
for id, _ := range s.queues {
|
||||
result = append(result, id)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user