Fix build start check for the ephemeral case
This commit is contained in:
parent
e987994654
commit
0b50928900
1 changed files with 1 additions and 1 deletions
|
@ -73,7 +73,7 @@ class BuildComponent(BaseComponent):
|
|||
@trollius.coroutine
|
||||
def start_build(self, build_job):
|
||||
""" Starts a build. """
|
||||
if self._component_status != ComponentStatus.RUNNING:
|
||||
if self._component_status not in (ComponentStatus.WAITING, ComponentStatus.RUNNING):
|
||||
logger.debug('Could not start build for component %s (build %s, worker version: %s): %s',
|
||||
self.builder_realm, build_job.repo_build.uuid, self._worker_version,
|
||||
self._component_status)
|
||||
|
|
Reference in a new issue