Commit 2517e0ec authored by Jason Madden's avatar Jason Madden

One more place the metrics need to be sorted for a stable order.

parent eef25082
...@@ -98,7 +98,7 @@ def check(addr, output_metrics, status, per): ...@@ -98,7 +98,7 @@ def check(addr, output_metrics, status, per):
with open(status) as f: # Read previous with open(status) as f: # Read previous
old = json.loads(f.read()) old = json.loads(f.read())
dt /= per_times[per] dt /= per_times[per]
for storage_id, sdata in data.items(): for storage_id, sdata in sorted(data.items()):
sdata['sameple-time'] = now sdata['sameple-time'] = now
if storage_id in old: if storage_id in old:
sold = old[storage_id] sold = old[storage_id]
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment