mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-03-25 01:19:02 +00:00
fixed compile errors due upstream change
Original commit: elastic/x-pack-elasticsearch@0a9d73d2be
This commit is contained in:
parent
3fa87c0994
commit
f20f56e2e1
@ -83,6 +83,11 @@ public class InternalStartDatafeedAction extends
|
||||
this.holder = holder;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean shouldCancelChildrenOnCancellation() {
|
||||
return true;
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void onCancelled() {
|
||||
stop();
|
||||
|
@ -138,6 +138,10 @@ public class PostDataAction extends Action<PostDataAction.Request, PostDataActio
|
||||
super(id, type, action, jobId + "_post_data", parentTaskId);
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean shouldCancelChildrenOnCancellation() {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
public static class Request extends ActionRequest {
|
||||
|
Loading…
x
Reference in New Issue
Block a user