diff options
author | zhifeng.jiang <jiang.zhifeng@zte.com.cn> | 2016-06-15 17:22:15 +0800 |
---|---|---|
committer | zhifeng jiang <jiang.zhifeng@zte.com.cn> | 2016-06-17 15:04:19 +0000 |
commit | 346fe1ffc17f205230c42634d9319e2de9a7bed9 (patch) | |
tree | c6e3aded130f97308cf18a9ca75a6219f8332347 | |
parent | 06fe75eed51ef0f227487fc23a834841b7a29760 (diff) |
Change the key in results to adapt to new testapi.
JIRA:QTIP-86
Change-Id: Ifd5e8d678d3a310d23c561d806393dad0e2f3cfe
Signed-off-by: zhifeng.jiang <jiang.zhifeng@zte.com.cn>
-rw-r--r-- | dashboard/pushtoDB.py | 2 |
1 files changed, 1 insertions, 1 deletions
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'} |