don't append to the original slice

pull/545/head
John Shahid 2014-05-15 14:21:53 -04:00
parent b3fac38501
commit 964f5b23b6
1 changed files with 3 additions and 1 deletions

View File

@ -165,7 +165,9 @@ func (self *CoordinatorImpl) runListSeriesQuery(querySpec *parser.QuerySpec, ser
}
seriesYielded := make(map[string]bool)
shards := append(shortTermShards, longTermShards...)
var shards []*cluster.ShardData
shards = append(shards, shortTermShards...)
shards = append(shards, longTermShards...)
var err error
for _, shard := range shards {