From: zhifeng.jiang Date: Wed, 15 Jun 2016 09:22:15 +0000 (+0800) Subject: Change the key in results to adapt to new testapi. X-Git-Tag: danube.1.0~334^2 X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F09%2F15609%2F3;p=qtip.git Change the key in results to adapt to new testapi. JIRA:QTIP-86 Change-Id: Ifd5e8d678d3a310d23c561d806393dad0e2f3cfe Signed-off-by: zhifeng.jiang --- diff --git a/dashboard/pushtoDB.py b/dashboard/pushtoDB.py index d86fbeee..d2074534 100644 --- a/dashboard/pushtoDB.py +++ b/dashboard/pushtoDB.py @@ -15,7 +15,7 @@ def push_results_to_db(db_url, case_name, payload,logger=None, pod_name="dell-us pod_name = os.environ['NODE_NAME'] params = {"project_name": "qtip", "case_name": case_name, - "pod_name": pod_name, "installer": installer, "creation_date": creation_date, + "pod_name": pod_name, "installer": installer, "start_date": creation_date, "version": "test" , "details": payload} headers = {'Content-Type': 'application/json'}