Skip to content

Commit

Permalink
Update PainlessPlugin.java
Browse files Browse the repository at this point in the history
Signed-off-by: Andriy Redko <[email protected]>
  • Loading branch information
reta authored Jan 2, 2025
1 parent 8f58bbd commit 8e5eda3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ public final class PainlessPlugin extends Plugin implements ScriptPlugin, Extens
map.put(IngestScript.CONTEXT, ingest);

// Functions available to update scripts
List<Allowlist> update = new ArrayList<>(Whitelist.BASE_WHITELISTS);
List<Whitelist> update = new ArrayList<>(Whitelist.BASE_WHITELISTS);
update.add(WhitelistLoader.loadFromResourceFiles(Whitelist.class, "org.opensearch.update.txt"));
map.put(UpdateScript.CONTEXT, update);

Expand Down

0 comments on commit 8e5eda3

Please sign in to comment.