mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-05 20:48:22 +00:00
65cd119733
Was accidentally injecting the script object, not the string version of the code. Also added a check so we only inject for Painless scripts (and not groovy, etc). Minor style tweaks too. Original commit: elastic/x-pack-elasticsearch@58c7275bd8