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:
@@ -201,7 +201,7 @@ class Connection(base.Connection):
|
|||||||
{ min : this.counter_volume,
|
{ min : this.counter_volume,
|
||||||
max : this.counter_volume,
|
max : this.counter_volume,
|
||||||
sum : this.counter_volume,
|
sum : this.counter_volume,
|
||||||
count : 1,
|
count : NumberInt(1),
|
||||||
duration_start : this.timestamp,
|
duration_start : this.timestamp,
|
||||||
duration_end : this.timestamp,
|
duration_end : this.timestamp,
|
||||||
period_start : new Date(period_start),
|
period_start : new Date(period_start),
|
||||||
|
|||||||
Reference in New Issue
Block a user