We must yield from stop_builder.

This commit is contained in:
Jake Moshenko 2014-12-23 16:12:10 -05:00
parent ef70432b11
commit 3ce64b4a7f

View file

@ -191,7 +191,7 @@ class EphemeralBuilderManager(BaseManager):
logger.debug('Calling job_completed with status: %s', job_status)
# 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
job_key = self._etcd_job_key(build_job)