summaryrefslogtreecommitdiffstats
path: root/dashboard/pushtoDB.py
diff options
context:
space:
mode:
authorzhifeng.jiang <jiang.zhifeng@zte.com.cn>2016-06-15 17:22:15 +0800
committerzhifeng jiang <jiang.zhifeng@zte.com.cn>2016-06-17 15:04:19 +0000
commit346fe1ffc17f205230c42634d9319e2de9a7bed9 (patch)
treec6e3aded130f97308cf18a9ca75a6219f8332347 /dashboard/pushtoDB.py
parent06fe75eed51ef0f227487fc23a834841b7a29760 (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>
Diffstat (limited to 'dashboard/pushtoDB.py')
-rw-r--r--dashboard/pushtoDB.py2
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'}
183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316