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

Fix eclipse compilation (backport of #66047) #66052

Merged
merged 1 commit into from
Dec 8, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,7 @@ public SearchResponse searchWithRetry(SearchRequest searchRequest,
SearchRetryableAction mlRetryableAction = new SearchRetryableAction(
jobId,
searchRequest,
client,
shouldRetry,
retryMsgHandler,
getResponse);
Expand Down Expand Up @@ -273,6 +274,8 @@ private class SearchRetryableAction extends MlRetryableAction<SearchRequest, Sea
private final SearchRequest searchRequest;
SearchRetryableAction(String jobId,
SearchRequest searchRequest,
// Pass the client to work around https://bugs.eclipse.org/bugs/show_bug.cgi?id=569557
OriginSettingClient client,
Supplier<Boolean> shouldRetry,
Consumer<String> msgHandler,
ActionListener<SearchResponse> listener) {
Expand Down