]> git.apps.os.sepia.ceph.com Git - teuthology.git/commitdiff
run: Fix reference to ctx for interactive jobs 2007/head
authorZack Cerza <zack@redhat.com>
Wed, 2 Oct 2024 16:45:34 +0000 (10:45 -0600)
committerZack Cerza <zack@redhat.com>
Wed, 2 Oct 2024 16:45:51 +0000 (10:45 -0600)
Fixes: https://tracker.ceph.com/issues/68285
Signed-off-by: Zack Cerza <zack@redhat.com>
teuthology/run.py

index 643955d375c979d78baf5c838317a70ffa66d782..383a74c932c93942e8ae6dab63246b85550f372e 100644 (file)
@@ -402,7 +402,7 @@ def main(args):
     # FIXME this should become more generic, and the keys should use
     # '_' uniformly
     if fake_ctx.config.get('interactive-on-error'):
-        teuth_config.config.ctx = fake_ctx
+        teuth_config.ctx = fake_ctx
 
     try:
         run_tasks(tasks=config['tasks'], ctx=fake_ctx)