[ADMIN_API] Fixed MnB metrics to be an array

Change-Id: I5886f2e5feedc66b2635e6f0235aa2f237c32f13
This commit is contained in:
Marc Pilon 2014-02-10 16:26:20 -05:00
parent 2d1a302a4d
commit 304ab84192
1 changed files with 2 additions and 2 deletions

View File

@ -333,12 +333,12 @@ def _build_payload(begin, end, name, id, tenant, status):
def _build_metrics(bytes):
return {
return [{
"metric_name": "lbaas.network.outgoing.bytes",
"metric_type": "gauge",
"metric_units": "BYTES",
"metric_value": bytes
}
}]
def _rounded_down_min(ts, N):