Merge "Fix TaskFlow loader to honor engine configuration"

This commit is contained in:
Zuul 2017-11-21 02:38:35 +00:00 committed by Gerrit Code Review
commit 81a47d9d8c
2 changed files with 2 additions and 2 deletions

View File

@ -36,7 +36,7 @@ class BaseTaskFlowEngine(object):
def _taskflow_load(self, flow, **kwargs):
eng = tf_engines.load(
flow,
engine_conf=CONF.task_flow.engine,
engine=CONF.task_flow.engine,
executor=self.executor,
never_resolve=CONF.task_flow.disable_revert,
**kwargs)

View File

@ -60,7 +60,7 @@ class TestBaseTaskFlowEngine(base.TestCase):
tf_engines.load.assert_called_once_with(
'TEST',
engine_conf='TESTENGINE',
engine='TESTENGINE',
executor='TESTEXECUTOR',
never_resolve=True)