mongodb: make count an integer explicitely

This fixes bug #1124350

Change-Id: I389a3f228fd3e1718d242189d9579a3b56852ca1
Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
Julien Danjou
2013-02-14 15:20:48 +01:00
parent c61bd41ab6
commit 79b2b43530

View File

@@ -181,7 +181,7 @@ class Connection(base.Connection):
emit('statistics', { min : this.counter_volume,
max : this.counter_volume,
sum : this.counter_volume,
count : 1,
count : NumberInt(1),
duration_start : this.timestamp,
duration_end : this.timestamp,
period_start : this.timestamp,