doc: Fix the snippet in "The Script Validator" section

In the snippet of code, store_nfs_version should point to an object
instead of an array.

Change-Id: I5093baf6fa849acba0dcacdc813ec22f01c35a84
This commit is contained in:
Nicolas Haller 2018-12-05 11:11:38 -05:00
parent be47e5c134
commit 5bb7f3797c
1 changed files with 2 additions and 2 deletions

View File

@ -186,8 +186,8 @@ as well:
output: OUTPUT_VAR
- script:
store_nfs_version: # Because inline is set, this is just a friendly name
- inline: rpm -q nfs-utils # Runs this text directly, rather than reading a file
- output: nfs-version # Places the stdout of this script into an argument
inline: rpm -q nfs-utils # Runs this text directly, rather than reading a file
output: nfs-version # Places the stdout of this script into an argument
# for future scripts to consume; if none exists, the
# argument is created