changed persistent task name to be of similar structure as the others

This commit is contained in:
Martijn van Groningen 2018-05-31 15:15:48 +02:00
parent 0176100a73
commit 7e8cf768cf
No known key found for this signature in database
GPG Key ID: AB236F4FCF2AF12A
2 changed files with 2 additions and 2 deletions

View File

@ -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++;
}
}

View File

@ -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 =