diff --git a/engine/stats.go b/engine/stats.go index 9413ced14..797c760fc 100644 --- a/engine/stats.go +++ b/engine/stats.go @@ -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) }