Skip to content

Commit

Permalink
Fix reference to painless inside expression engine (#26528)
Browse files Browse the repository at this point in the history
This was a simple copy/paste bug in an earlier refactoring.
  • Loading branch information
rjernst authored Sep 11, 2017
1 parent 8ba4ff3 commit 9834081
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ protected Class<?> loadClass(String name, boolean resolve) throws ClassNotFoundE
ExecutableScript.Factory factory = (p) -> new ExpressionExecutableScript(expr, p);
return context.factoryClazz.cast(factory);
}
throw new IllegalArgumentException("painless does not know how to handle context [" + context.name + "]");
throw new IllegalArgumentException("expression engine does not know how to handle script context [" + context.name + "]");
}

private SearchScript.LeafFactory newSearchScript(Expression expr, SearchLookup lookup, @Nullable Map<String, Object> vars) {
Expand Down

0 comments on commit 9834081

Please sign in to comment.