fix reactivemongo BC break in insight pipeline

pull/2357/head
Thibault Duplessis 2016-10-30 11:03:11 +01:00
parent 134e4a1f5d
commit e5d0ece460
1 changed files with 3 additions and 3 deletions

View File

@ -57,9 +57,9 @@ private final class AggregationPipeline {
private val regroupStacked = GroupField("_id.dimension")(
"nb" -> SumField("v"),
"ids" -> FirstField("ids"),
"stack" -> Push(BSONDocument(
"metric" -> "_id.metric",
"v" -> "v"))).some
"stack" -> Push($doc(
"metric" -> "$_id.metric",
"v" -> "$v"))).some
private val sliceIds = Project($doc(
"_id" -> true,
"v" -> true,