mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-03-24 17:09:48 +00:00
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