Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[7.16] [DOCS] Fix stored script example snippet (#83056) #83078

Merged
merged 1 commit into from
Jan 25, 2022
Merged

[7.16] [DOCS] Fix stored script example snippet (#83056) #83078

merged 1 commit into from
Jan 25, 2022

Conversation

jrodewig
Copy link
Contributor

This is an automatic backport of pull request #83056 to 7.16.

Please refer to the Backport tool documentation for additional information

Changes:

* Updates the example Painless script to be valid and aligns it with the example in [How to write a script](https://www.elastic.co/guide/en/elasticsearch/reference/master/modules-scripting-using.html#script-stored-scripts).
* Adds a hidden snippets to delete the script for cleanup.

Relates to #83038

(cherry picked from commit 3845a41)
@jrodewig jrodewig added auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) backport labels Jan 25, 2022
@elasticsearchmachine elasticsearchmachine merged commit ddb7629 into elastic:7.16 Jan 25, 2022
@jrodewig jrodewig deleted the backport/7.16/pr-83056 branch January 26, 2022 14:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) backport v7.16.4
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants