From c078443e1ed1569fd91fd36318e084cac540e80a Mon Sep 17 00:00:00 2001 From: Dimitri Staessens Date: Mon, 13 Nov 2017 18:01:56 +0100 Subject: testbeds: Simplify test in jfed.py This checks if wall is a substring of the authority to set the image owner to the wall image owner. --- rumba/testbeds/jfed.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/rumba/testbeds/jfed.py b/rumba/testbeds/jfed.py index 857a3db..da93110 100644 --- a/rumba/testbeds/jfed.py +++ b/rumba/testbeds/jfed.py @@ -84,9 +84,7 @@ class Testbed(mod.Testbed): if not image_custom: image_owner = "emulab-ops" else: - if authority == "wall1.ilabt.iminds.be": - image_owner = "wall2-ilabt-iminds-be" - elif authority == "wall2.ilabt.iminds.be": + if "wall" in authority: image_owner = "wall2-ilabt-iminds-be" else: image_owner = "GeniSlices" -- cgit v1.2.3