]> git.apps.os.sepia.ceph.com Git - teuthology.git/commit
Fix dictionary update in try_push_job_info() 1673/head
authorKamoltat <ksirivad@redhat.com>
Mon, 13 Sep 2021 21:14:41 +0000 (21:14 +0000)
committerKamoltat <ksirivad@redhat.com>
Fri, 17 Sep 2021 03:33:24 +0000 (03:33 +0000)
commit11ef3dd25ad1d977076d8dca8d320f69e07c0cfa
tree73fa07f407b9083cfec31501a5665443f91a2da1
parent4e1f59de82924f116bd6b91664f90ef632c60a3f
Fix dictionary update in try_push_job_info()

the function `try_push_job_info()` is not
updating `job_info` dictionary properly since
we want to update `job_info` with `extra_info`,
however, in lines 498 and 499 we are assigning
`job_info` to a copy of `extra_info` and updating
`job_info` with `job_config` which is incorrect.
Instead, we should assign `job_info` with
a copy of `job_config` and update `job_info` with
`extra_info`
teuthology/report.py