Adapt changes in PersistentTaskParams

Relates #31045
This commit is contained in:
Nhat Nguyen 2018-06-04 14:48:04 -04:00
parent 87abb49145
commit 6ee6404e94
1 changed files with 5 additions and 0 deletions

View File

@ -5,6 +5,7 @@
*/ */
package org.elasticsearch.xpack.ccr.action; package org.elasticsearch.xpack.ccr.action;
import org.elasticsearch.Version;
import org.elasticsearch.common.ParseField; import org.elasticsearch.common.ParseField;
import org.elasticsearch.common.Strings; import org.elasticsearch.common.Strings;
import org.elasticsearch.common.io.stream.StreamInput; import org.elasticsearch.common.io.stream.StreamInput;
@ -183,4 +184,8 @@ public class ShardFollowTask implements PersistentTaskParams {
return Strings.toString(this); return Strings.toString(this);
} }
@Override
public Version getMinimalSupportedVersion() {
return Version.V_6_4_0;
}
} }