YAQL/Jinja function 'task' doesn't work w/o a task name
Bug #1657694 reported by
Renat Akhmerov
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mistral |
Fix Released
|
High
|
Renat Akhmerov |
Bug Description
This function should work as 'task(task1)' and 'task()'. In the second case it should return the current task. For example,
---
version: '2.0'
wf:
tasks:
task1:
action: std.echo output='foo'
publish:
my_var: <% task().result %>
In this case 'my_var' should be assigned with 'foo'. In such cases it's not necessary to specify a task name for when using 'task' function.
Changed in mistral: | |
importance: | Undecided → High |
assignee: | nobody → Renat Akhmerov (rakhmerov) |
milestone: | none → ocata-3 |
To post a comment you must log in.
Fix proposed to branch: master /review. openstack. org/422518
Review: https:/