diff options
author | Dimitri Staessens <dimitri.staessens@ugent.be> | 2017-11-13 18:01:56 +0100 |
---|---|---|
committer | Dimitri Staessens <dimitri.staessens@ugent.be> | 2017-11-13 18:43:16 +0100 |
commit | c078443e1ed1569fd91fd36318e084cac540e80a (patch) | |
tree | 893732b594c0983998bee6dd31b3847c1e72e77e | |
parent | 8610ac11766326658239212e183037044d01b61c (diff) | |
download | rumba-c078443e1ed1569fd91fd36318e084cac540e80a.tar.gz rumba-c078443e1ed1569fd91fd36318e084cac540e80a.zip |
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.
-rw-r--r-- | rumba/testbeds/jfed.py | 4 |
1 files changed, 1 insertions, 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" |