From 443e0582b0d84ebb32c8279764400b2e97a51aaa Mon Sep 17 00:00:00 2001 From: wangzhh Date: Tue, 8 Dec 2015 20:32:08 +0800 Subject: [PATCH] Fix example for ad-hoc action in doc Add indentation in the example for ad-hoc action in doc. Closes-Bug: #1523905 Change-Id: I7c024f6033b7b7a88b56f34dd5939775f9d47bc2 --- doc/source/dsl/dsl_v2.rst | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/doc/source/dsl/dsl_v2.rst b/doc/source/dsl/dsl_v2.rst index 9593699a..ec51df7a 100644 --- a/doc/source/dsl/dsl_v2.rst +++ b/doc/source/dsl/dsl_v2.rst @@ -891,20 +891,20 @@ YAML example version: '2.0' error_email: - input: -   - execution_id - base: std.email - base-input: -   to_addrs: ['admin@mywebsite.org'] -   subject: 'Something went wrong with your Mistral workflow :(' -   body: | -       Please take a look at Mistral Dashboard to find out what's wrong -       with your workflow execution <% $.execution_id %>. -       Everything's going to be alright! -       -- Sincerely, Mistral Team. -   from_addr: 'mistral@openstack.org' -   smtp_server: 'smtp.google.com' -   smtp_password: 'SECRET' + input: +    - execution_id + base: std.email + base-input: +    to_addrs: ['admin@mywebsite.org'] +    subject: 'Something went wrong with your Mistral workflow :(' +    body: | +        Please take a look at Mistral Dashboard to find out what's wrong +        with your workflow execution <% $.execution_id %>. +        Everything's going to be alright! +        -- Sincerely, Mistral Team. +    from_addr: 'mistral@openstack.org' +    smtp_server: 'smtp.google.com' +    smtp_password: 'SECRET' Once this action is uploaded to Mistral any workflow will be able to use it as follows: