diff options
author | Simon Westphahl <simon.westphahl@bmw.de> | 2022-10-13 11:24:18 +0200 |
---|---|---|
committer | Simon Westphahl <simon.westphahl@bmw.de> | 2022-10-13 11:26:41 +0200 |
commit | 37237371e782681d180768d8d5893839d3c85901 (patch) | |
tree | 0de1863e0ab8a19909c7cf6d7c45a266ce45c2a8 /zuul | |
parent | 4bda3e1969313d7046e54a4fbcb347217121aeeb (diff) | |
download | zuul-37237371e782681d180768d8d5893839d3c85901.tar.gz |
Correctly (de-)serialize the topic of a change
A change's topic so far was not stored in with the change in Zookeeper.
Due to that the Gerrit dependencies-by-topic feature wasn't working
in a multi-scheduler setup.
Change-Id: I815e90607d839886921b61625075b3df96ca0bbd
Diffstat (limited to 'zuul')
-rw-r--r-- | zuul/model.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/zuul/model.py b/zuul/model.py index 67b5e0117..b1fc88fb0 100644 --- a/zuul/model.py +++ b/zuul/model.py @@ -5925,6 +5925,7 @@ class Change(Branch): self.failed_to_merge = data.get("failed_to_merge", False) self.open = data.get("open") self.owner = data.get("owner") + self.topic = data.get("topic") self.message = data.get("message") self.commit_id = data.get("commit_id") self.base_sha = data.get("base_sha") @@ -5947,6 +5948,7 @@ class Change(Branch): "failed_to_merge": self.failed_to_merge, "open": self.open, "owner": self.owner, + "topic": self.topic, "message": self.message, "commit_id": self.commit_id, "base_sha": self.base_sha, |