We must yield from stop_builder.
This commit is contained in:
parent
ef70432b11
commit
3ce64b4a7f
1 changed files with 1 additions and 1 deletions
|
@ -191,7 +191,7 @@ class EphemeralBuilderManager(BaseManager):
|
||||||
logger.debug('Calling job_completed with status: %s', job_status)
|
logger.debug('Calling job_completed with status: %s', job_status)
|
||||||
|
|
||||||
# Kill the ephmeral builder
|
# Kill the ephmeral builder
|
||||||
self._executor.stop_builder(self._component_to_builder.pop(build_component))
|
yield From(self._executor.stop_builder(self._component_to_builder.pop(build_component)))
|
||||||
|
|
||||||
# Release the lock in etcd
|
# Release the lock in etcd
|
||||||
job_key = self._etcd_job_key(build_job)
|
job_key = self._etcd_job_key(build_job)
|
||||||
|
|
Reference in a new issue