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

@ -892,19 +892,19 @@ YAML example
error_email: error_email:
input: input:
  - execution_id    - execution_id
base: std.email base: std.email
base-input: base-input:
  to_addrs: ['admin@mywebsite.org']    to_addrs: ['admin@mywebsite.org']
  subject: 'Something went wrong with your Mistral workflow :('    subject: 'Something went wrong with your Mistral workflow :('
  body: |    body: |
      Please take a look at Mistral Dashboard to find out what's wrong        Please take a look at Mistral Dashboard to find out what's wrong
      with your workflow execution <% $.execution_id %>.        with your workflow execution <% $.execution_id %>.
      Everything's going to be alright!        Everything's going to be alright!
      -- Sincerely, Mistral Team.        -- Sincerely, Mistral Team.
  from_addr: 'mistral@openstack.org'    from_addr: 'mistral@openstack.org'
  smtp_server: 'smtp.google.com'    smtp_server: 'smtp.google.com'
  smtp_password: 'SECRET'    smtp_password: 'SECRET'
Once this action is uploaded to Mistral any workflow will be able to use Once this action is uploaded to Mistral any workflow will be able to use
it as follows: it as follows: