From aade719f274c9010830db95379021f5516a8794b Mon Sep 17 00:00:00 2001 From: Radu Ioan Fericean Date: Fri, 1 Aug 2014 21:05:01 +0300 Subject: [PATCH] fix build error --- engine/stats.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engine/stats.go b/engine/stats.go index 797c760fc..68ddd4e42 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() - result := make([]string) + result := make([]string, 0) for id, _ := range s.queues { result = append(result, id) }