summaryrefslogtreecommitdiff
path: root/zuul
diff options
context:
space:
mode:
authorSimon Westphahl <simon.westphahl@bmw.de>2022-04-12 11:02:54 +0200
committerSimon Westphahl <simon.westphahl@bmw.de>2022-04-14 15:21:23 +0200
commite67d243bf28edba29d5f753f55aaf4f592a3b6b3 (patch)
tree12b35875d69ccf44428f911d540cc3dbd24c70a6 /zuul
parentf0bf27521428699fb8c17cc9db4378b9cb65028b (diff)
downloadzuul-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.py2
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):