]> git.apps.os.sepia.ceph.com Git - teuthology.git/commitdiff
run: fix typo after refactor 1521/head
authorKyr Shatskyy <kyrylo.shatskyy@suse.com>
Wed, 24 Jun 2020 09:42:29 +0000 (11:42 +0200)
committerKyr Shatskyy <kyrylo.shatskyy@suse.com>
Wed, 24 Jun 2020 09:42:29 +0000 (11:42 +0200)
This addresses issue introduced by PR 1520 commit:
b9fe404403db8f983a402ed64b85a2a292de66af

Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@suse.com>
teuthology/run.py

index f58bcecd5529742e2bdd2365fda95309f11b6310..f6f51c3f1606c37107af7bd3a976217e23e0daaa 100644 (file)
@@ -168,8 +168,8 @@ def validate_tasks(config):
 def get_initial_tasks(lock, config, machine_type):
     init_tasks = []
     overrides = config.get('overrides', {})
-    having_repos = ('repo' in config.get('install', {}) or
-                    'repo' in overrides.get('install', {}))
+    having_repos = ('repos' in config.get('install', {}) or
+                    'repos' in overrides.get('install', {}))
     if 'redhat' in config:
         pass
     elif having_repos: