summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorliyin <liyin11@huawei.com>2017-09-29 14:41:46 +0800
committerAce Lee <liyin11@huawei.com>2017-09-29 06:44:52 +0000
commit627821a85adc763467c325e8b3946108ae65b7a1 (patch)
tree5dfe20d7152e7587d3511c6c37a472af331e657b
parent10181b6e823a8bdd2804afacf99605e16224b629 (diff)
Fix Bottlenecks status page cann't be shown.
Change-Id: Ia1ad4c0654ad2dea7fdb61b81725af9aaafc4750 Signed-off-by: liyin <liyin11@huawei.com>
-rw-r--r--reporting/reporting/bottlenecks/reporting-status.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/reporting/reporting/bottlenecks/reporting-status.py b/reporting/reporting/bottlenecks/reporting-status.py
index 8966d06..225227a 100644
--- a/reporting/reporting/bottlenecks/reporting-status.py
+++ b/reporting/reporting/bottlenecks/reporting-status.py
@@ -37,10 +37,14 @@ for version in VERSIONS:
# For all the installers
for installer in INSTALLERS:
# get scenarios results data
+ if version != 'master':
+ new_version = "stable/{}".format(version)
+ else:
+ new_version = version
scenario_results = rp_utils.getScenarios("bottlenecks",
"posca_factor_ping",
installer,
- version)
+ new_version)
LOGGER.info("scenario_results: %s", scenario_results)
scenario_stats = rp_utils.getScenarioStats(scenario_results)