]> git.apps.os.sepia.ceph.com Git - teuthology.git/commit
teuthology.run: conditionally add fake_ctx to teuthology.config.config 393/head
authorDan Mick <dan.mick@redhat.com>
Thu, 11 Dec 2014 22:34:07 +0000 (14:34 -0800)
committerDan Mick <dan.mick@redhat.com>
Fri, 12 Dec 2014 00:11:16 +0000 (16:11 -0800)
commit226e6262b88f1548544363f95cda3e134e6c6d67
tree994ca7960d226f67c690cb8e3078547fd3ddf8b0
parent1ea62949bb025c215a3d1f9a27cffa8e179865d6
teuthology.run: conditionally add fake_ctx to teuthology.config.config

The intent here is to get the 'interactive-on-error' config value
passed down to contextutil.nested(), but it is recognized that we need
a way to share global configuration; for now, since nested() really
needs the entire ctx, we can get it out of fake_ctx.config, but there
needs to be a cleaner way as FakeNamespace is phased out.

Fixes: #10260
Signed-off-by: Dan Mick <dan.mick@redhat.com>
teuthology/contextutil.py
teuthology/run.py