mirror of
https://github.com/odoo/runbot.git
synced 2025-03-27 13:25:47 +07:00
[FIX] runbot: only top parent is marked killable
This commit is contained in:
parent
9cf750119d
commit
a80dc25699
@ -119,7 +119,7 @@ class Runbot(models.AbstractModel):
|
|||||||
return
|
return
|
||||||
|
|
||||||
for build in testing_builds:
|
for build in testing_builds:
|
||||||
if build.killable:
|
if build.top_parent.killable:
|
||||||
build.top_parent._ask_kill(message='Build automatically killed, new build found.')
|
build.top_parent._ask_kill(message='Build automatically killed, new build found.')
|
||||||
|
|
||||||
def _allocate_builds(self, host, nb_slots, domain=None):
|
def _allocate_builds(self, host, nb_slots, domain=None):
|
||||||
|
Loading…
Reference in New Issue
Block a user