From 1a4e1b211cec8f70f94dd49b32c30751005e65fe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lubom=C3=ADr=20Sedl=C3=A1=C5=99?= Date: Thu, 11 Aug 2016 14:41:04 +0200 Subject: [PATCH] [image-build] Get failable config from correct place MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The key should be nested in `image-build` block. Signed-off-by: Lubomír Sedlář --- pungi/phases/image_build.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pungi/phases/image_build.py b/pungi/phases/image_build.py index 54c16589..25b1363a 100644 --- a/pungi/phases/image_build.py +++ b/pungi/phases/image_build.py @@ -157,7 +157,7 @@ class ImageBuildPhase(base.ImageConfigMixin, base.ConfigGuardedPhase): ), "link_type": self.compose.conf.get("link_type", "hardlink-or-copy"), "scratch": image_conf['image-build'].pop('scratch', False), - "failable_arches": image_conf.pop('failable', []), + "failable_arches": image_conf['image-build'].pop('failable', []), } self.pool.add(CreateImageBuildThread(self.pool)) self.pool.queue_put((self.compose, cmd))