[FIX] runbot: only top parent is marked killable

This commit is contained in:
Xavier-Do 2023-06-14 10:30:02 +02:00
parent 9cf750119d
commit a80dc25699

View File

@ -119,7 +119,7 @@ class Runbot(models.AbstractModel):
return
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.')
def _allocate_builds(self, host, nb_slots, domain=None):