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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user