From 73fcea4d2c7866458b6f4ddcbc0d2f673df2ae7b Mon Sep 17 00:00:00 2001 From: Alexander Reelsen Date: Mon, 11 Feb 2019 13:03:49 +0300 Subject: [PATCH] Remove ticks in chain input documentation (#38109) The ticks created a literal string instead of actually accessing the payload value. --- x-pack/docs/en/watcher/input/chain.asciidoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/x-pack/docs/en/watcher/input/chain.asciidoc b/x-pack/docs/en/watcher/input/chain.asciidoc index 9952773e722..9898880a9a7 100644 --- a/x-pack/docs/en/watcher/input/chain.asciidoc +++ b/x-pack/docs/en/watcher/input/chain.asciidoc @@ -72,7 +72,7 @@ still be available in its original form in `ctx.payload.first`. { "second" : { "transform" : { - "script" : "return [ 'path' : 'ctx.payload.first.path' + '/' ]" + "script" : "return [ 'path' : ctx.payload.first.path + '/' ]" } } },