From 86f341a347a05e21a6daccff810ed501db0c9093 Mon Sep 17 00:00:00 2001 From: Dougal Matthews Date: Fri, 20 Oct 2017 10:21:57 +0100 Subject: [PATCH] Remove references to the current task from task() in stack.yaml When using the task() expression function within a mistral task the name is only needed when referncing a different task. These were found with the mistral-lint PyPI package. Change-Id: I8b67323f250fcfcf37a15dcc29024e5ce1506bb4 --- workbooks/stack.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/workbooks/stack.yaml b/workbooks/stack.yaml index 43279a017..243798a21 100644 --- a/workbooks/stack.yaml +++ b/workbooks/stack.yaml @@ -21,7 +21,7 @@ workflows: retry: delay: 15 count: <% $.timeout / 15 %> - continue-on: <% task(wait_for_stack_status).result.stack_status in ['CREATE_IN_PROGRESS', 'UPDATE_IN_PROGRESS', 'DELETE_IN_PROGRESS'] %> + continue-on: <% task().result.stack_status in ['CREATE_IN_PROGRESS', 'UPDATE_IN_PROGRESS', 'DELETE_IN_PROGRESS'] %> wait_for_stack_in_progress: input: @@ -39,7 +39,7 @@ workflows: retry: delay: 15 count: <% $.timeout / 15 %> - continue-on: <% task(wait_for_stack_status).result.stack_status in ['CREATE_COMPLETE', 'CREATE_FAILED', 'UPDATE_COMPLETE', 'UPDATE_FAILED', 'DELETE_FAILED'] %> + continue-on: <% task().result.stack_status in ['CREATE_COMPLETE', 'CREATE_FAILED', 'UPDATE_COMPLETE', 'UPDATE_FAILED', 'DELETE_FAILED'] %> wait_for_stack_does_not_exist: input: