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
This commit is contained in:
wangzhh 2015-12-08 20:32:08 +08:00
parent 7264fe6ee1
commit 443e0582b0

View File

@ -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: