diff options
author | Shrenik <shrenik.jain@research.iiit.ac.in> | 2017-12-07 02:36:08 -0800 |
---|---|---|
committer | Shrenik Jain <shrenik.jain@research.iiit.ac.in> | 2017-12-17 21:19:01 +0000 |
commit | f5759099c69e1885ea72ff1e75794101b179eeac (patch) | |
tree | ab3435d8e875f81a1373993957922dfebb6a583b /docker | |
parent | cc5407ad056942815ce412ce434dcffe62c96109 (diff) |
Resolve error in fetching metrics
There seems to be an update in the json format used.
The data is present at ['details']['metrics'] rather
than ['metrics']
JIRA: STORPERF-229
Change-Id: I7c3ee319ef4a128c33f5e2a26e10b6ff03a471d3
Signed-off-by: Shrenik <shrenik.jain@research.iiit.ac.in>
Diffstat (limited to 'docker')
-rw-r--r-- | docker/storperf-master/storperf/storperf_master.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docker/storperf-master/storperf/storperf_master.py b/docker/storperf-master/storperf/storperf_master.py index 914fc26..a795faa 100644 --- a/docker/storperf-master/storperf/storperf_master.py +++ b/docker/storperf-master/storperf/storperf_master.py @@ -407,7 +407,7 @@ class StorPerfMaster(object): workload_params = self.job_db.fetch_workload_params(job_id) if 'report' in workload_params: report = workload_params['report'] - return report['metrics'] + return report['details']['metrics'] return {} def fetch_metadata(self, job_id): |