Fixed a doc test.

This commit is contained in:
Jack Conradson 2016-08-30 16:51:37 -07:00
parent 623562c646
commit 2b9c3a1a98

View File

@ -12,7 +12,7 @@ the same pattern:
"params": { ... } <3>
}
-------------------------------------
<1> The language the script is written in, which defaults to `groovy`.
<1> The language the script is written in, which defaults to `painless`.
<2> The script itself which may be specfied as `inline`, `id`, or `file`.
<3> Any named parameters that should be passed into the script.
@ -201,6 +201,7 @@ POST _scripts/groovy/calculate-score
}
-----------------------------------
// CONSOLE
// TEST[warning:Groovy scripts are deprecated. Use Painless scripts instead.]
This same script can be retrieved with: