From bb0381f17c2bc30100ddb4fcc3bd85ca506abe52 Mon Sep 17 00:00:00 2001 From: Kenny Lee Sin Cheong <2530351+kleesc@users.noreply.github.com> Date: Tue, 5 Jan 2021 11:18:31 -0500 Subject: [PATCH] Allow build canceller to set keys in orchestrator (#639) --- buildman/orchestrator.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/buildman/orchestrator.py b/buildman/orchestrator.py index bfd8769cfa..3cc5c4c615 100644 --- a/buildman/orchestrator.py +++ b/buildman/orchestrator.py @@ -471,8 +471,6 @@ def get_key(self, key): return value.decode("utf-8") def set_key(self, key, value, overwrite=False, expiration=None): - assert not self.is_canceller_only - try: already_exists = self._client.exists(key) if already_exists and not overwrite: