Merge "Allow to use 'task()' yaql function in task policies"

This commit is contained in:
Zuul 2019-06-07 11:03:12 +00:00 committed by Gerrit Code Review
commit c7a10c2554
1 changed files with 2 additions and 0 deletions

View File

@ -162,6 +162,7 @@ class TaskPolicy(object):
ctx_view = data_flow.ContextView(
task_ex.in_context,
data_flow.get_current_task_dict(task_ex),
data_flow.get_workflow_environment_dict(wf_ex),
wf_ex.context,
wf_ex.input
@ -181,6 +182,7 @@ class TaskPolicy(object):
ctx_view = data_flow.ContextView(
task_ex.in_context,
data_flow.get_current_task_dict(task_ex),
data_flow.get_workflow_environment_dict(wf_ex),
wf_ex.context,
wf_ex.input