changed persistent task name to be of similar structure as the others
This commit is contained in:
parent
0176100a73
commit
7e8cf768cf
|
@ -125,7 +125,7 @@ public class FollowIndexSecurityIT extends ESRestTestCase {
|
|||
for (Map.Entry<?, ?> entry : nodeTasks.entrySet()) {
|
||||
Map<?, ?> nodeTask = (Map<?, ?>) entry.getValue();
|
||||
String action = (String) nodeTask.get("action");
|
||||
if (action.startsWith("shard_follow")) {
|
||||
if (action.startsWith("xpack/ccr/shard_follow_task")) {
|
||||
numNodeTasks++;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -25,7 +25,7 @@ import java.util.Set;
|
|||
|
||||
public class ShardFollowTask implements PersistentTaskParams {
|
||||
|
||||
public static final String NAME = "shard_follow";
|
||||
public static final String NAME = "xpack/ccr/shard_follow_task";
|
||||
|
||||
// list of headers that will be stored when a job is created
|
||||
public static final Set<String> HEADER_FILTERS =
|
||||
|
|
Loading…
Reference in New Issue