diff options
author | Simon Westphahl <simon.westphahl@bmw.de> | 2022-04-12 11:02:54 +0200 |
---|---|---|
committer | Simon Westphahl <simon.westphahl@bmw.de> | 2022-04-14 15:21:23 +0200 |
commit | e67d243bf28edba29d5f753f55aaf4f592a3b6b3 (patch) | |
tree | 12b35875d69ccf44428f911d540cc3dbd24c70a6 /zuul | |
parent | f0bf27521428699fb8c17cc9db4378b9cb65028b (diff) | |
download | zuul-e67d243bf28edba29d5f753f55aaf4f592a3b6b3.tar.gz |
Don't overwrite result data in compat mode
When we are still running in model API <=5 compatibility mode and there
are still jobs with the old format in Zookeeper, the result data was set
to None.
Change-Id: Ifd2c180a69bbaa7a20006305d9f8e9ec460120dc
Diffstat (limited to 'zuul')
-rw-r--r-- | zuul/model.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/zuul/model.py b/zuul/model.py index 0bd5cb88b..79041cf86 100644 --- a/zuul/model.py +++ b/zuul/model.py @@ -3478,8 +3478,6 @@ class Build(zkobject.ZKObject): # Load the object from ZK data['_' + job_data_key] = JobData.fromZK( context, job_data['path']) - else: - data['_' + job_data_key] = None return data def getPath(self): |