Fix count type in MongoDB

This fixes some API tests ran with CEILOMETER_LIVE_TEST

Change-Id: I3c77ffb3b6287dd4efcf0afd6f437033acb5f2b7
Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
Julien Danjou
2013-02-25 17:25:45 +01:00
parent 0ccc81e1c4
commit f8337b52fc

View File

@@ -201,7 +201,7 @@ class Connection(base.Connection):
{ 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 : new Date(period_start),