diff --git a/pungi/phases/osbuild.py b/pungi/phases/osbuild.py index f3cfa2ea..b81afc9e 100644 --- a/pungi/phases/osbuild.py +++ b/pungi/phases/osbuild.py @@ -96,12 +96,7 @@ class RunOSBuildThread(WorkerThread): self.can_fail = can_fail self.num = num with util.failable( - compose, - bool(config.get("failable")), - variant, - "*", - "osbuild", - logger=self.pool._logger, + compose, can_fail, variant, "*", "osbuild", logger=self.pool._logger, ): self.worker( compose, variant, config, arches, version, release, target, repo diff --git a/tests/test_osbuild_phase.py b/tests/test_osbuild_phase.py index 30be2a22..f3b70e61 100644 --- a/tests/test_osbuild_phase.py +++ b/tests/test_osbuild_phase.py @@ -381,7 +381,7 @@ class RunOSBuildThreadTest(helpers.PungiTestCase): None, "image-target", [self.topdir + "/compose/Everything/$arch/os"], - ["x86_64"], + False, ), 1, ) @@ -408,7 +408,7 @@ class RunOSBuildThreadTest(helpers.PungiTestCase): None, "image-target", [self.topdir + "/compose/Everything/$arch/os"], - ["x86_64"], + True, ), 1, )